From 31097d5d1534603d12d7586de4f68e310e06c2fd Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 20 Apr 2018 14:18:52 +0200 Subject: [PATCH] Add a reload option to the prometheus systemd unit. --- prometheus/templates/prometheus.systemd | 1 + 1 file changed, 1 insertion(+) diff --git a/prometheus/templates/prometheus.systemd b/prometheus/templates/prometheus.systemd index a31c49d4..3c90c377 100644 --- a/prometheus/templates/prometheus.systemd +++ b/prometheus/templates/prometheus.systemd @@ -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]