#! /bin/sh
#
+# Copyright (C) Kern Sibbald 2000-2015
+# License: BSD 2-Clause
+#
# bacula This shell script takes care of starting and stopping
# the bacula File daemon.
#
# this gives us funtion rc_status -v to tell us if we succeed or fail
. /etc/rc.status
+RETVAL=0
case "$1" in
start)
echo -n "Starting the Bacula File daemon: "
$0 stop
sleep 5
$0 start
+ RETVAL=$?
;;
status)
/sbin/checkproc @sbindir@/bacula-fd