3 # bacula This shell script takes care of starting and stopping
4 # the bacula File daemon.
7 # description: The Leading Open Source Backup Solution.
9 # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
18 if [ "${FD_USER}" != '' ]; then
19 FD_OPTIONS="${FD_OPTIONS} -u ${FD_USER}"
21 if [ "${FD_GROUP}" != '' ]; then
22 FD_OPTIONS="${FD_OPTIONS} -g ${FD_GROUP}"
25 echo "Starting the Bacula File daemon: "
26 @sbindir@/bacula-fd $2 ${FD_OPTIONS} -c @sysconfdir@/bacula-fd.conf
29 echo "Stopping the Bacula File daemon: "
38 echo "Usage: $0 {start|stop|restart}"