bittorrent sync, btsync, config file for upstart; put this in /etc/init/btsync.conf and put your config file in /etc/btsync/btsync.conf
This file contains 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
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