From 298780eb5f44a8e1fed6a9e3a58acc779490ef03 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Jan 09 2013 12:21:02 +0000 Subject: Add missing killproc --- diff --git a/bacula-dir.init b/bacula-dir.init index d13cd98..4a802fb 100644 --- a/bacula-dir.init +++ b/bacula-dir.init @@ -52,7 +52,7 @@ start() { stop() { echo -n $"Stopping $prog: " - # stop it here, often "killproc $prog" + killproc $prog retval=$? echo [ $retval -eq 0 ] && rm -f $lockfile diff --git a/bacula-fd.init b/bacula-fd.init index 00b297e..e61ab41 100644 --- a/bacula-fd.init +++ b/bacula-fd.init @@ -50,7 +50,7 @@ start() { stop() { echo -n $"Stopping $prog: " - # stop it here, often "killproc $prog" + killproc $prog retval=$? echo [ $retval -eq 0 ] && rm -f $lockfile diff --git a/bacula-sd.init b/bacula-sd.init index 32f1773..e6ff9a8 100644 --- a/bacula-sd.init +++ b/bacula-sd.init @@ -50,7 +50,7 @@ start() { stop() { echo -n $"Stopping $prog: " - # stop it here, often "killproc $prog" + killproc $prog retval=$? echo [ $retval -eq 0 ] && rm -f $lockfile