name: atp-downloader
external: false
cmd: updater
args: ["-e"]
routes:
- /atp_downloader/api_version
- /atp_downloader/version
- /atp_downloader/api/1/update
- /atp_downloader/api/1/check_for_update
- /atp_downloader/api/1/update_indexes
- /atp_downloader/api/1/third_party
- /atp_downloader/api/1/status
- /atp_downloader/api/1/settings_pack
- /atp_downloader/api/1/drop_cache
location: http://127.0.0.1:18019
restart-policy: # optional
# How many times during attempt-interval we would try to restart a unit that is failing.
# If value is 0 unit will restarts infinitely.
max-attempts: 10
attempt-delay: 1s # delay between restart attempts
attempt-interval: 15m # See max-attempts description.
kill-timeout: 10s # how long would Core Agent wait for Agent Unit graceful shutdown (stop) before killing it
startup-timeout: 30s # How long Core Agent waits for unit startup before killing it.
healthcheck: # optional
timeout: 20s # health-check request timeout (including connection time)
interval: 30s # how often Core Agent would send health-check requests to Agent Unit
max-failures: 5 # how many times health-check should fail before Core Agent would confirm the death
endpoint: /healthcheck # endpoint for healtcheck REST call from Core Agent to Agent Unit |