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