forked from pneymrl2f/nightingale
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
373 B
20 lines
373 B
[Unit]
|
|
Description="telegraf"
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
|
|
ExecStart=/opt/telegraf/usr/bin/telegraf --config etc/telegraf/telegraf.conf --output-filter opentsdb
|
|
WorkingDirectory=/opt/telegraf
|
|
|
|
Restart=on-failure
|
|
SuccessExitStatus=0
|
|
LimitNOFILE=65536
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=telegraf
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |