From: Kern Sibbald Date: Sun, 6 Dec 2009 17:06:27 +0000 (+0100) Subject: Allow Dir to come up before use X-Git-Tag: Release-5.0.0~185 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a736ca5ca5332fcecbb5f69a9d9bba259cc22661;p=bacula%2Fbacula Allow Dir to come up before use --- diff --git a/bacula/scripts/bacula-ctl-dir.in b/bacula/scripts/bacula-ctl-dir.in index 4282eb7bdf..1cd22eae9f 100644 --- a/bacula/scripts/bacula-ctl-dir.in +++ b/bacula/scripts/bacula-ctl-dir.in @@ -197,7 +197,6 @@ fi case "$1" in start) [ -x ${BACDIRBIN}/bacula-dir ] && { - sleep 2 echo "Starting the $Bacula Director daemon" OPTIONS='' if [ "${DIR_USER}" != '' ]; then @@ -213,6 +212,7 @@ case "$1" in else ${BACDIRBIN}/bacula-dir $2 $3 ${OPTIONS} -v -c ${BACDIRCFG}/bacula-dir.conf fi + sleep 1 } ;;