Skip to content

Commit 68aad8e

Browse files
authored
Add ExecReload to prometheus.service (#1131)
1 parent 4f517de commit 68aad8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/prometheus-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ ExecStart=/usr/local/bin/prometheus \
4646
--config.file=/etc/prometheus/prometheus.yml \
4747
--storage.tsdb.path=/var/lib/prometheus/ \
4848
--web.listen-address=0.0.0.0:9090
49+
ExecReload=/bin/kill -HUP \$MAINPID
4950
5051
[Install]
5152
WantedBy=multi-user.target" >$service_path

0 commit comments

Comments
 (0)