X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fscripts%2Fbacula.in;h=324171d77900bac9d5848d03f6202ce7be3f1264;hb=31bafb3d475f4a435c98de7dcc68e9ec71efeb68;hp=8010035a591063064fe13eb13b872ba0ff37f9aa;hpb=d90c27623a8e65d7467df28c5faff0be8fbddbed;p=bacula%2Fbacula diff --git a/bacula/scripts/bacula.in b/bacula/scripts/bacula.in index 8010035a59..324171d779 100755 --- a/bacula/scripts/bacula.in +++ b/bacula/scripts/bacula.in @@ -14,6 +14,11 @@ # environment where they are different. # SCRIPTDIR=@scriptdir@ +# +# Disable Glibc malloc checks, it doesn't help and it keeps from getting +# good dumps +MALLOC_CHECK_=0 +export MALLOC_CHECK_ case "$1" in start) @@ -27,12 +32,11 @@ case "$1" in [ -x ${SCRIPTDIR}/bacula-ctl-fd ] && ${SCRIPTDIR}/bacula-ctl-fd $1 $2 [ -x ${SCRIPTDIR}/bacula-ctl-sd ] && ${SCRIPTDIR}/bacula-ctl-sd $1 $2 [ -x ${SCRIPTDIR}/bacula-ctl-dir ] && ${SCRIPTDIR}/bacula-ctl-dir $1 $2 - echo - sleep 6 ;; restart) $0 stop + sleep 2 $0 start ;;