diff options
Diffstat (limited to 'contrib/debian/bbstored')
-rwxr-xr-x | contrib/debian/bbstored | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/contrib/debian/bbstored b/contrib/debian/bbstored deleted file mode 100755 index d5ba2ac5..00000000 --- a/contrib/debian/bbstored +++ /dev/null @@ -1,46 +0,0 @@ -#! /bin/sh - -# Start and stop the Box Backup server daemon. - -BBSTORED=/usr/local/bin/bbstored -CONFIG=/etc/box/bbstored.conf -PIDFILE=/var/run/bbstored.pid - -test -x $BBACKUPD || exit 0 -test -f $CONFIG || exit 0 - -case $1 in - start) - echo -n "Starting Box Backup Server daemon: bbstored" - start-stop-daemon --start --quiet --exec $BBSTORED > /dev/null - echo "." - ;; - - stop) - echo -n "Stopping Box Backup Server daemon: bbstored" - start-stop-daemon --stop --quiet \ - --pidfile $PIDFILE --exec $BBSTORED - echo "." - ;; - - reload|force-reload) - echo -n "Reloading Box Backup Server configuration" - start-stop-daemon --stop --signal 1 --quiet --oknodo \ - --pidfile $PIDFILE --exec $BBSTORED - echo "." - ;; - - restart) - echo -n "Restarting Box Backup Server daemon: bbstored" - start-stop-daemon --stop --quiet --pidfile $PIDFILE \ - --exec $BBSTORED - start-stop-daemon --start --quiet \ - --exec $BBSTORED > /dev/null - echo "." - ;; - - *) - echo "Usage: /etc/init.d/bbstored {start|stop|reload|force-reload|restart}" -esac - -exit 0 |