diff --git a/templates/pushgateway.service.j2 b/templates/pushgateway.service.j2 index 98e1438..67e9217 100644 --- a/templates/pushgateway.service.j2 +++ b/templates/pushgateway.service.j2 @@ -3,6 +3,7 @@ [Unit] Description=Prometheus pushgateway After=network-online.target +StartLimitInterval=0 [Service] Type=simple @@ -44,6 +45,7 @@ Environment="HTTP_PROXY={{ http_proxy }}"{% if https_proxy is defined %} "HTTPS_ SyslogIdentifier=pushgateway Restart=always +RestartSec=0 [Install] WantedBy=multi-user.target