]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/scripts/bacula.in
Change Byline
[bacula/bacula] / bacula / scripts / bacula.in
index 8010035a591063064fe13eb13b872ba0ff37f9aa..02114b63184c4f85e1ce9b7687be05ad2635a059 100755 (executable)
@@ -6,7 +6,7 @@
 #   This is pretty much watered down version of the RedHat script
 #   that works on Solaris as well as Linux, but it won't work everywhere.
 #
-# description: It comes by night and sucks the vital essence from your computers.
+# description: The Leading Open Source Backup Solution.
 #
 
 # All these are not *really* needed but it makes it
 #  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
       ;;