Add a reload option to the prometheus systemd unit.

This commit is contained in:
Andrea Dell'Amico 2018-04-20 14:18:52 +02:00
parent 725964d36a
commit 31097d5d15
1 changed files with 1 additions and 0 deletions

View File

@ -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]