[修正]修正了各个服务中confd中的reload重启命令

This commit is contained in:
makotocc0107
2024-10-09 16:01:47 +08:00
committed by Coding
parent 13467b75d2
commit ec0420439d
3 changed files with 5 additions and 3 deletions

View File

@@ -5,3 +5,4 @@ keys = [
"/time/", "/time/",
"/remote_write/", "/remote_write/",
] ]
reload_cmd = "pkill -9 -f '/usr/local/bin/prometheus --config.file=/etc/prometheus/prometheus.yml'"

View File

@@ -4,3 +4,4 @@ dest = "/etc/supervisord/supervisord.conf"
keys = [ keys = [
"/time/" "/time/"
] ]
reload_cmd = "pkill -9 -f '/usr/local/bin/prometheus --config.file=/etc/prometheus/prometheus.yml'"

View File

@@ -6,5 +6,5 @@ keys = [
"/exporter/", "/exporter/",
"/metrics/", "/metrics/",
] ]
reload_cmd = "pkill -f opcua-exporter" reload_cmd = "pkill -f opcua_exporter"