refactor telegraf.service
This commit is contained in:
parent
19c90d356c
commit
dd1147f534
|
@ -8,7 +8,10 @@ Type=simple
|
|||
ExecStart=/opt/telegraf/usr/bin/telegraf --config etc/telegraf/telegraf.conf --output-filter opentsdb
|
||||
WorkingDirectory=/opt/telegraf
|
||||
|
||||
Restart=on-failure
|
||||
KillMode=process
|
||||
KillSignal=SIGQUIT
|
||||
TimeoutStopSec=5
|
||||
Restart=always
|
||||
SuccessExitStatus=0
|
||||
LimitNOFILE=65536
|
||||
StandardOutput=syslog
|
||||
|
|
Loading…
Reference in New Issue