3 # bacula This shell script takes care of starting and stopping
4 # the bacula File daemon.
6 # chkconfig: 2345 90 99
7 # description: It comes by night and sucks the vital essence from your computers.
9 # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
15 echo -n "Starting the Bacula File daemon: "
16 /sbin/startproc @sbindir@/bacula-fd $2 -c @sysconfdir@/bacula-fd.conf
19 [ $RETVAL -eq 0 ] && touch @subsysdir@/bacula-fd
22 echo -n "Stopping the Bacula File daemon: "
23 /sbin/killproc @sbindir@/bacula-fd
26 [ $RETVAL -eq 0 ] && rm -f @subsysdir@/bacula-fd
34 /sbin/checkproc @sbindir@/bacula-fd
37 echo "Usage: $0 {start|stop|restart|status}"