Skip to content
Snippets Groups Projects
Commit 1ebd1aaa authored by Sylvain Boily's avatar Sylvain Boily Committed by Daniel Nelson
Browse files

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

parent de3f52b9
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
### Bugfixes ### Bugfixes
- [#2749](https://github.com/influxdata/telegraf/pull/2749): Fixed sqlserver input to work with case sensitive server collation. - [#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] ## v1.3 [unreleased]
......
...@@ -9,6 +9,7 @@ User=telegraf ...@@ -9,6 +9,7 @@ User=telegraf
ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d ${TELEGRAF_OPTS} ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d ${TELEGRAF_OPTS}
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure Restart=on-failure
RestartForceExitStatus=SIGPIPE
KillMode=control-group KillMode=control-group
[Install] [Install]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment