forked from ISTI-ansible-roles/ansible-roles
Add a reload option to the prometheus systemd unit.
This commit is contained in:
parent
725964d36a
commit
31097d5d15
|
@ -9,6 +9,7 @@ User={{ prometheus_user }}
|
|||
Group={{ prometheus_user }}
|
||||
EnvironmentFile=/etc/default/prometheus
|
||||
ExecStart={{ prometheus_cmd }} $PROMETHEUS_STARTUP_OPTS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue