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