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-7.0.0~2502 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c7ba45ebd677a28b58771def800137d19069b74f;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 } ;;