Created
December 9, 2014 00:48
-
-
Save yusufhm/e5427129bf30fb9b2065 to your computer and use it in GitHub Desktop.
Ubuntu upstart script for btsync
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
# btsync - Bittorent Sync | |
description "btsync - Keep Bittorent Sync running" | |
start on filesystem | |
stop on shutdown | |
respawn | |
expect fork | |
exec start-stop-daemon --chuid ubuntu:ubuntu --start --make-pidfile --pidfile /var/run/btsync.pid --exec /home/ubuntu/apps/btsync/btsync >> /var/log/btsync.log 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment