Add ExecReload to prometheus.service (#1131)

This commit is contained in:
Sung Jeon
2024-12-31 22:14:41 +09:00
committed by GitHub
parent 4f517de2d1
commit 68aad8e152

View File

@@ -46,6 +46,7 @@ ExecStart=/usr/local/bin/prometheus \
--config.file=/etc/prometheus/prometheus.yml \
--storage.tsdb.path=/var/lib/prometheus/ \
--web.listen-address=0.0.0.0:9090
ExecReload=/bin/kill -HUP \$MAINPID
[Install]
WantedBy=multi-user.target" >$service_path