]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/scripts/bacula.in
Add Fedora 11 and 12 build tags.
[bacula/bacula] / bacula / scripts / bacula.in
index 8010035a591063064fe13eb13b872ba0ff37f9aa..324171d77900bac9d5848d03f6202ce7be3f1264 100755 (executable)
 #  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
       ;;