Robert Felber
Wed, 16 Jan 2008 10:56:21 -0800
On Wed, Jan 16, 2008 at 01:39:28PM -0500, Justin Piszcz wrote: > Package: policyd-weight > Version: 0.1.14.5-1 > > Distribution: Debian Testing (Lenny) > > If you do not kill the cache instance, when you (in Debian) > /etc/init.d/policyd-weight stop, it only stops the master/child > (but not the cache) process. > > echo -n "Stopping $DESC: " > + # kill cache instance first. > + $DAEMON -k > $DAEMON $DAEMON_OPTS stop > echo "$NAME." > ;;
Which reminds me, two init scripts would be better, like:
rc.d/policyd-weight stop|start
rc.d/policyd-weight-cache stop|start
(I should update the FreeBSD init scripts, too)
Two init script because usually you don't want to kill the cache as
it can serve across different versions.
--
Robert Felber (PGP: 896CF30B)
Munich, Germany
____________________________________________________________
Policyd-weight Mailinglist - http://www.policyd-weight.org/