Ignore:
Timestamp:
15/06/2008 20:08:30 (4 years ago)
Author:
chris
Message:

Fix default locations of PID files.

Wait for daemons to stop before starting them again during restart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/contrib/debian/bbstored.in

    r2094 r2191  
    55BBSTORED=@sbindir_expanded@/bbstored 
    66CONFIG=@sysconfdir_expanded@/box/bbstored.conf 
    7 PIDFILE=@localstatedir_expanded@/bbstored.pid 
     7PIDFILE=@localstatedir_expanded@/run/bbstored.pid 
    88 
    99test -x $BBACKUPD || exit 0 
     
    3434                echo -n "Restarting Box Backup Server daemon: bbstored" 
    3535                start-stop-daemon --stop --quiet --pidfile $PIDFILE \ 
    36                         --exec $BBSTORED 
     36                        --exec $BBSTORED --retry 5 
    3737                start-stop-daemon --start --quiet \ 
    3838                        --exec $BBSTORED > /dev/null 
Note: See TracChangeset for help on using the changeset viewer.