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/bbackupd.in

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