]> git.sur5r.net Git - bacula/bacula/commitdiff
Update Irix bacula-fd script
authorKern Sibbald <kern@sibbald.com>
Tue, 13 Jan 2004 09:28:32 +0000 (09:28 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 13 Jan 2004 09:28:32 +0000 (09:28 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1009 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/platforms/irix/bacula-fd.in

index c15c6681a97cf08e74b6766606ce458866b4df84..a5abaa58605244c01175b9e1ab0dde78427c3842 100644 (file)
@@ -57,6 +57,7 @@ For 1.33 Testing/Documentation:
 - Add subsections to the Disaster Recovery index section.
                 
 For 1.33
+- Why does "mark cygwin" take so long!!!!!!!!
 - When a file is set for restore, walk back up the chain of 
   directories, setting them to be restored.
 - Figure out a way to set restore on a directory without recursively
index 9f26adea5dcf00e74bbe25e9dec9a9848e0c0c2e..2a287e6cc5ce0bf3d8b1bcb945203e979b4d4fcd 100755 (executable)
 #
 
 case "$1" in
-    start)
+    'start')
        echo "Starting the Bacula File daemon: "
-       @sbindir@/bacula-fd $2 -c @sysconfdir@/bacula-fd.conf
+       if test -x @sbindir@/bacula-fd && test -f @sysconfidir@/bacula-fd.conf; then
+        exec  @sbindir@/bacula-fd $2 -c @sysconfdir@/bacula-fd.conf
+       fi
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && touch @subsysdir@/bacula-fd
        ;;
-    stop)
+    'stop')
        echo "Stopping the Bacula File daemon: "
-#      killproc @sbindir@/bacula-fd
+       /sbin/killall -k 10 -TERM @sbindir@/bacula-fd
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && rm -f @subsysdir@/bacula-fd
        ;;
-    restart)
+    'restart')
        $0 stop
        sleep 5
        $0 start