[修正]修正了各个服务中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

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

View File

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

View File

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