Package: freeradius
Version: 1.0.1-2
Severity: wishlist

The initscript might check whether the server is still running
after a "reload".

Index: debian/freeradius.init
===================================================================
RCS file: /source/radiusd/debian/freeradius.init,v
retrieving revision 1.2
diff -u -r1.2 freeradius.init
--- debian/freeradius.init      19 Dec 2004 02:31:08 -0000      1.2
+++ debian/freeradius.init      25 Jan 2005 14:55:22 -0000
@@ -32,6 +32,8 @@
 reload|force-reload) 
                echo -n "Reloading configuration files for $descr"
                start-stop-daemon --stop --signal 1 --quiet --pidfile $pidfile
+               sleep 2
+               ps --pid $(cat $pidfile) > /dev/null || exit 1
         echo "."
         ;;
 *)     echo "Usage: /etc/init.d/freeradius 
start|stop|restart|reload|force-reload"


-- 
Nicolas Baradakis



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to