From ee747266e064438ecd747d914494e5d8599bc75c Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 13 Jan 2004 09:28:32 +0000 Subject: [PATCH] Update Irix bacula-fd script git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1009 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/kernstodo | 1 + bacula/platforms/irix/bacula-fd.in | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/bacula/kernstodo b/bacula/kernstodo index c15c6681a9..a5abaa5860 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -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 diff --git a/bacula/platforms/irix/bacula-fd.in b/bacula/platforms/irix/bacula-fd.in index 9f26adea5d..2a287e6cc5 100755 --- a/bacula/platforms/irix/bacula-fd.in +++ b/bacula/platforms/irix/bacula-fd.in @@ -10,21 +10,23 @@ # 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 -- 2.39.5