Created
March 14, 2020 21:02
-
-
Save denniskupec/3211b187d5a0a006183b0f17539b9bc4 to your computer and use it in GitHub Desktop.
synology telegraf upstart script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/init/telegraf.conf | |
description "Telegraf Daemon" | |
start on syno.share.ready and syno.network.ready | |
stop on runlevel [06] | |
respawn | |
respawn limit 5 30 | |
exec /sbin/telegraf --config /etc/telegraf.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment