3 # This file is reported not to work by Alan Brown 21Feb04
5 # bacula This shell script takes care of starting and stopping
6 # the bacula Director daemon
8 # chkconfig: 2345 90 99
9 # description: It comes by night and sucks the vital essence from your computers.
11 # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
18 echo -n "Starting the Bacula Director: "
19 /sbin/startproc @sbindir@/bacula-dir $2 -c @sysconfdir@/bacula-dir.conf
22 [ $RETVAL -eq 0 ] && touch @subsysdir@/bacula-dir
25 echo -n "Stopping the Director daemon: "
26 /sbin/killproc @sbindir@/bacula-dir
29 [ $RETVAL -eq 0 ] && rm -f @subsysdir@/bacula-dir
37 /sbin/checkproc @sbindir@/bacula-dir
40 echo "Usage: $0 {start|stop|restart|status}"