summaryrefslogtreecommitdiff
path: root/contrib/debian/bbstored.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/debian/bbstored.in')
-rw-r--r--contrib/debian/bbstored.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/debian/bbstored.in b/contrib/debian/bbstored.in
index ec0bfefb..253a9684 100644
--- a/contrib/debian/bbstored.in
+++ b/contrib/debian/bbstored.in
@@ -4,7 +4,7 @@
BBSTORED=@sbindir_expanded@/bbstored
CONFIG=@sysconfdir_expanded@/box/bbstored.conf
-PIDFILE=@localstatedir_expanded@/bbstored.pid
+PIDFILE=@localstatedir_expanded@/run/bbstored.pid
test -x $BBACKUPD || exit 0
test -f $CONFIG || exit 0
@@ -33,7 +33,7 @@ case $1 in
restart)
echo -n "Restarting Box Backup Server daemon: bbstored"
start-stop-daemon --stop --quiet --pidfile $PIDFILE \
- --exec $BBSTORED
+ --exec $BBSTORED --retry 5
start-stop-daemon --start --quiet \
--exec $BBSTORED > /dev/null
echo "."