Systemd does not see all shutdowns as failures (#2716)

This commit is contained in:
Sylvain Boily 2017-05-08 14:48:29 -04:00 committed by Daniel Nelson
parent dd2ef7a67e
commit 6aa3762049
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
### Bugfixes
- [#2749](https://github.com/influxdata/telegraf/pull/2749): Fixed sqlserver input to work with case sensitive server collation.
- [#2716](https://github.com/influxdata/telegraf/pull/2716): Systemd does not see all shutdowns as failures
## v1.3 [unreleased]

View File

@ -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]