diff options
Diffstat (limited to 'network/btsync/rc.btsync')
-rw-r--r-- | network/btsync/rc.btsync | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/network/btsync/rc.btsync b/network/btsync/rc.btsync deleted file mode 100644 index 71bf757e16..0000000000 --- a/network/btsync/rc.btsync +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# -# btsync start script - -case "$1" in - stop) - PID=/var/run/btsync/btsync.pid - if [ -f $PID ]; then - echo "Stop BitTorrent Sync..." - kill "`cat /var/run/btsync/btsync.pid`" - else - echo "BitTorrent Sync is not running..." - exit 1 - fi - ;; - start) - echo "Start BitTorrent Sync..." - /usr/bin/btsync --config /etc/btsync.conf - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 { start | stop | restart }" >&2 - exit 1 - ;; -esac |