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

This commit is contained in:
Sylvain Boily
2017-05-08 11:48:29 -07:00
committed by Daniel Nelson
parent de3f52b990
commit 1ebd1aaa41
2 changed files with 2 additions and 0 deletions
+1
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]
+1
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]