diff options
Diffstat (limited to 'app-backup/bacula/files/bacula-init3')
-rw-r--r-- | app-backup/bacula/files/bacula-init3 | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/app-backup/bacula/files/bacula-init3 b/app-backup/bacula/files/bacula-init3 deleted file mode 100644 index a3329070ca41..000000000000 --- a/app-backup/bacula/files/bacula-init3 +++ /dev/null @@ -1,60 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/bacula-init3,v 1.1 2005/07/04 01:52:06 robbat2 Exp $ - -depend() { - need net - %%USE_DB%% -} - -start() { - local retval=0 - for s in ${SERVICES} ; do - case ${s} in - sd) - ebegin "Starting bacula storage daemon" - start-stop-daemon --start --quiet --exec /usr/sbin/bacula-sd \ - -- ${SD_OPTIONS} - retval=$(( $retval + $? )) - ;; - fd) - ebegin "Starting bacula file daemon" - start-stop-daemon --start --quiet --exec /usr/sbin/bacula-fd \ - -- ${FD_OPTIONS} - retval=$(( $retval + $? )) - ;; - dir) - ebegin "Starting bacula director" - start-stop-daemon --start --quiet --exec /usr/sbin/bacula-dir \ - -- ${DIR_OPTIONS} - retval=$(( $retval + $? )) - ;; - esac - done - eend $retval -} - -stop() { - local retval=0 - for s in ${SERVICES} ; do - case ${s} in - sd) - ebegin "Stopping bacula storage daemon" - start-stop-daemon --stop --quiet --pidfile /var/run/bacula-sd.*.pid - retval=$(( $retval + $? )) - ;; - fd) - ebegin "Stopping bacula file daemon" - start-stop-daemon --stop --quiet --pidfile /var/run/bacula-fd.*.pid - retval=$(( $retval + $? )) - ;; - dir) - ebegin "Stopping bacula director" - start-stop-daemon --stop --quiet --pidfile /var/run/bacula-dir.*.pid - retval=$(( $retval + $? )) - ;; - esac - done - eend $retval -} |