Systemd does not see all shutdowns as failures (#2716)
This commit is contained in:
committed by
Daniel Nelson
parent
dd2ef7a67e
commit
6aa3762049
@@ -9,6 +9,7 @@ User=telegraf
|
||||
ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d ${TELEGRAF_OPTS}
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
RestartForceExitStatus=SIGPIPE
|
||||
KillMode=control-group
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user