From 6958ec3406c687e19c7a866b5cb64455359e07f2 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Tue, 8 Apr 2003 08:21:20 +0000 Subject: [PATCH] kill instances of uwobo_forever.sh on stop --- helm/scripts/init.d/helm-uwobo_mowgli | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/helm/scripts/init.d/helm-uwobo_mowgli b/helm/scripts/init.d/helm-uwobo_mowgli index 3861c7689..888b4391b 100755 --- a/helm/scripts/init.d/helm-uwobo_mowgli +++ b/helm/scripts/init.d/helm-uwobo_mowgli @@ -44,9 +44,13 @@ do_start () { } do_stop () { - echo "Stopping $DAEMON ..." + echo -n "Stopping $DAEMON ... " start-stop-daemon --stop --pidfile $PIDFILE && \ (if [ -f $PIDFILE ]; then rm -f $PIDFILE; else true; fi) + echo "done!" + echo -n "Stopping UWOBO respawner (uwobo_forever.sh) ... " + killall `basename $UWOBO_FOREVER` + echo "done!" } case "$1" in -- 2.39.2