3 # bacula This shell script takes care of starting and stopping
4 # the bacula Director daemon
7 # description: The Leading Open Source Backup Solution.
9 # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
19 if [ "${DIR_USER}" != '' ]; then
20 DIR_OPTIONS="${DIR_OPTIONS} -u ${DIR_USER}"
22 if [ "${DIR_GROUP}" != '' ]; then
23 DIR_OPTIONS="${DIR_OPTIONS} -g ${DIR_GROUP}"
26 echo "Starting the Bacula Director: "
27 @sbindir@/bacula-dir $2 ${DIR_OPTIONS} -c @sysconfdir@/bacula-dir.conf
30 echo "Stopping the Director daemon: "
39 echo "Usage: $0 {start|stop|restart}"