3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
6 # bacula This shell script takes care of starting and stopping
7 # the bacula Director daemon
10 # description: The Leading Open Source Backup Solution.
12 # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
18 echo "Starting the Bacula Director: "
19 @sbindir@/bacula-dir $2 -c @sysconfdir@/bacula-dir.conf
22 [ $RETVAL -eq 0 ] && touch @subsysdir@/bacula-dir
25 echo "Stopping the Director daemon: "
26 # killproc @sbindir@/bacula-dir
29 [ $RETVAL -eq 0 ] && rm -f @subsysdir@/bacula-dir
38 echo "Usage: $0 {start|stop|restart}"