]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/platforms/redhat/bacula-dir.in
update configure
[bacula/bacula] / bacula / platforms / redhat / bacula-dir.in
index 8d2e1f2f8a5628f58d570cc8bb29b7025baf36e9..06038560eaa64bbbb95deb9b559eeb7db8320d40 100755 (executable)
@@ -4,7 +4,7 @@
 #             the bacula Director daemon
 #
 # chkconfig: 2345 92 9
-# description: It comes by night and sucks the vital essence from your computers.
+# description: The Leading Open Source Backup Solution.
 #
 #  For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
 #
@@ -25,6 +25,12 @@ fi
 # pull in any user defined DIR_DIR_OPTIONS, DIR_USER, or DIR_GROUP
 [ -f /etc/sysconfig/bacula ] && . /etc/sysconfig/bacula
 
+#
+# Disable Glibc malloc checks, it doesn't help and it keeps from getting
+#   good dumps
+MALLOC_CHECK_=0
+export MALLOC_CHECK_
+
 RETVAL=0
 case "$1" in
     start)
@@ -55,10 +61,11 @@ case "$1" in
        ;;
     status)
        status @sbindir@/bacula-dir
+       RETVAL=$?
        ;;
     *)
        echo "Usage: $0 {start|stop|restart|status}"
        exit 1
        ;;
 esac
-exit 0
+exit $RETVAL