From a736ca5ca5332fcecbb5f69a9d9bba259cc22661 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 6 Dec 2009 18:06:27 +0100 Subject: [PATCH] Allow Dir to come up before use --- bacula/scripts/bacula-ctl-dir.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } ;; -- 2.39.5