Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
added restartsec and startlimitinterval configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhaninan authored Aug 20, 2019
1 parent 00221d0 commit fe4d6c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/pushgateway.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[Unit]
Description=Prometheus pushgateway
After=network-online.target
StartLimitInterval=0

[Service]
Type=simple
Expand Down Expand Up @@ -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

0 comments on commit fe4d6c9

Please sign in to comment.