Skip to content

Instantly share code, notes, and snippets.

@martingehrke
Created March 27, 2015 21:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save martingehrke/03223e0c78e70423ede4 to your computer and use it in GitHub Desktop.
bittorrent sync, btsync, config file for upstart; put this in /etc/init/btsync.conf and put your config file in /etc/btsync/btsync.conf
description "BitTorrent Sync"
start on filesystem
stop on shutdown
respawn
expect fork
script
exec start-stop-daemon -S -x /bin/btsync -- --config /etc/btsync/btsync.conf
end script
pre-stop script
killall btsync
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment