[修正]修正了supervisord模版书写

This commit is contained in:
makotocc0107
2024-10-10 16:06:29 +08:00
committed by Coding
parent ebfe98f87e
commit b7bf85593f

View File

@@ -11,7 +11,7 @@ stderr_logfile=/var/log/confd.err.log
stdout_logfile=/var/log/confd.out.log
[program:prometheus]
command=/usr/local/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.retention.time={{ getv "/time/storage_interval"}}{{ getv "/time/storage_interval_unit")}}
command=/usr/local/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.retention.time={{ getv "/time/storage_interval"}}{{ getv "/time/storage_interval_unit"}}
autostart=true
autorestart=true
stderr_logfile=/var/log/prometheus.err.log