From b7bf85593f8529c9f907ef73de7816c442c1f3ba Mon Sep 17 00:00:00 2001 From: makotocc0107 <1424018999@qq.com> Date: Thu, 10 Oct 2024 16:06:29 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=AD=A3]=E4=BF=AE=E6=AD=A3=E4=BA=86?= =?UTF-8?q?supervisord=E6=A8=A1=E7=89=88=E4=B9=A6=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/prometheus/confd/templates/supervisord.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/prometheus/confd/templates/supervisord.tmpl b/docker/prometheus/confd/templates/supervisord.tmpl index e7bce46..2e76111 100644 --- a/docker/prometheus/confd/templates/supervisord.tmpl +++ b/docker/prometheus/confd/templates/supervisord.tmpl @@ -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