3 # bacula This shell script takes care of starting and stopping
4 # the bacula File daemon.
6 # This file is reported not to work by Alan Brown 21Feb04
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@
17 echo -n "Starting the Bacula File daemon: "
18 /sbin/startproc @sbindir@/bacula-fd $2 -c @sysconfdir@/bacula-fd.conf
21 [ $RETVAL -eq 0 ] && touch @subsysdir@/bacula-fd
24 echo -n "Stopping the Bacula File daemon: "
25 /sbin/killproc @sbindir@/bacula-fd
28 [ $RETVAL -eq 0 ] && rm -f @subsysdir@/bacula-fd
36 /sbin/checkproc @sbindir@/bacula-fd
39 echo "Usage: $0 {start|stop|restart|status}"