#! /bin/sh
#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
# bacula This shell script takes care of starting and stopping
# the bacula Director daemon
#
$0 stop
sleep 5
$0 start
+ RETVAL=$?
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
-exit 0
+exit $RETVAL