diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-03-05 03:59:41 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-03-05 20:52:17 +0100 |
commit | c92175810eb36514f6aa16e641551ef4d4f6b776 (patch) | |
tree | 41451841760f2a2dc342e1d9a88e6a4b57b60ac3 /roles/monitoring/prometheus/server/templates/prometheus.service.j2 | |
parent | install mono-devel on equinox-ws (diff) |
prometheus: cleanups and fixes in prep for alerta
Diffstat (limited to 'roles/monitoring/prometheus/server/templates/prometheus.service.j2')
-rw-r--r-- | roles/monitoring/prometheus/server/templates/prometheus.service.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/monitoring/prometheus/server/templates/prometheus.service.j2 b/roles/monitoring/prometheus/server/templates/prometheus.service.j2 index 77a3b02a..e65e9425 100644 --- a/roles/monitoring/prometheus/server/templates/prometheus.service.j2 +++ b/roles/monitoring/prometheus/server/templates/prometheus.service.j2 @@ -6,7 +6,7 @@ After=time-sync.target [Service] Restart=on-failure User=prometheus -ExecStart=/usr/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/metrics2/ --storage.tsdb.retention.time={{ prometheus_server_retention }}{% if prometheus_server_web_external_url is defined %} --web.external-url={{ prometheus_server_web_external_url }}{% endif %}{% if prometheus_server_auth_users is defined %} --web.config.file=/etc/prometheus/prometheus-web.yml{% endif %} --web.listen-address={{ prometheus_server_web_listen_address }} +ExecStart=/usr/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/metrics2/ --storage.tsdb.retention.time={{ prometheus_server_retention }}{% if prometheus_server_web_external_url is defined %} --web.external-url={{ prometheus_server_web_external_url }}{% endif %}{% if prometheus_server_web_route_prefix is defined %} --web.route-prefix={{ prometheus_server_web_route_prefix }}{% endif %}{% if prometheus_server_auth_users is defined %} --web.config.file=/etc/prometheus/prometheus-web.yml{% endif %} --web.listen-address={{ prometheus_server_web_listen_address }} ExecReload=/bin/kill -HUP $MAINPID TimeoutStopSec=20s SendSIGKILL=no |