From 68aad8e1522161955b8c65ab3197677b42f8ba65 Mon Sep 17 00:00:00 2001 From: Sung Jeon Date: Tue, 31 Dec 2024 22:14:41 +0900 Subject: [PATCH] Add ExecReload to prometheus.service (#1131) --- install/prometheus-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/prometheus-install.sh b/install/prometheus-install.sh index 032a9d8c7..db3d1f527 100644 --- a/install/prometheus-install.sh +++ b/install/prometheus-install.sh @@ -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