Skip to content

Instantly share code, notes, and snippets.

@denniskupec
Created March 14, 2020 21:02
Show Gist options
  • Save denniskupec/3211b187d5a0a006183b0f17539b9bc4 to your computer and use it in GitHub Desktop.
Save denniskupec/3211b187d5a0a006183b0f17539b9bc4 to your computer and use it in GitHub Desktop.
synology telegraf upstart script
# /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