diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-01-29 00:35:11 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-01-29 00:35:11 +0000 |
commit | c647ffa0841a545d0a49e584213366c7fc064672 (patch) | |
tree | d87eaa776ee924415197921e46eb9ef691843b3c /contrib/debian/bbackupd | |
parent | becb1a27341d013ea4b5b5eca740319a30180877 (diff) |
Update contributed scripts to use autoconf substitution for the
paths to binaries, configuration files and local state files.
Diffstat (limited to 'contrib/debian/bbackupd')
-rw-r--r-- | contrib/debian/bbackupd | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/contrib/debian/bbackupd b/contrib/debian/bbackupd deleted file mode 100644 index e6d5326c..00000000 --- a/contrib/debian/bbackupd +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/sh - -# Start and stop the Box Backup client daemon. - -test -x /usr/local/bin/bbackupd || exit 0 -test -f /etc/box/bbackupd.conf || exit 0 - -case $1 in - start) - echo -n "Starting Box Backup Client daemon: bbackupd" - start-stop-daemon --start --quiet --exec /usr/local/bin/bbackupd > /dev/null - echo "." - ;; - - stop) - echo -n "Stopping Box Backup Client daemon: bbackupd" - start-stop-daemon --stop --quiet --pidfile /var/run/bbackupd.pid --exec /usr/local/bin/bbackupd - echo "." - ;; - - reload|force-reload) - echo -n "Reloading the Box Backup Client daemon's configuration" - start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile /var/run/bbackupd.pid --exec /usr/local/bin/bbackupd - echo "." - ;; - - restart) - echo -n "Restarting the Box Backup Client daemon: bbackupd" - start-stop-daemon --stop --quiet --pidfile /var/run/bbackupd.pid --exec /usr/local/bin/bbackupd - start-stop-daemon --start --quiet --exec /usr/local/bin/bbackupd > dev/null - echo "." - ;; - *) - echo "Usage: /etc/init.d/bbackupd {start|stop|reload|force-reload|restart}" - exit 1 -esac - -exit 0 |