fix telegraf service (#1252)

This commit is contained in:
Rene Zbinden 2016-05-24 16:14:58 +02:00 committed by Cameron Sparr
parent e103923430
commit 475252d873
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,13 @@
## v1.0 [unreleased]
### Release Notes
### Features
### Bugfixes
- [#1252](https://github.com/influxdata/telegraf/pull/1252): Fix systemd service. Thanks @zbindenren!
## v0.13.1 [2016-05-24]
### Release Notes

View File

@ -11,7 +11,7 @@ Environment='STDERR=/var/log/telegraf/telegraf.log'
ExecStart=/bin/sh -c "/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d ${TELEGRAF_OPTS} >>${STDOUT} 2>>${STDERR}"
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
KillMode=process
KillMode=control-group
[Install]
WantedBy=multi-user.target