summaryrefslogtreecommitdiff
path: root/community/bacula/bacula-dir.rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'community/bacula/bacula-dir.rc.d')
-rw-r--r--community/bacula/bacula-dir.rc.d41
1 files changed, 0 insertions, 41 deletions
diff --git a/community/bacula/bacula-dir.rc.d b/community/bacula/bacula-dir.rc.d
deleted file mode 100644
index a5a103dca..000000000
--- a/community/bacula/bacula-dir.rc.d
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
-
- [ -d /var/run/bacula ] || mkdir -p /var/run/bacula
- chown bacula:bacula /var/run/bacula
-
- stat_busy "Starting Bacula Director Daemon"
- /usr/sbin/bacula-dir
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon bacula-dir
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Bacula Director Daemon"
- killall bacula-dir > /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon bacula-dir
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
-~
-~