On Wed, 16 Jan 2008, Jan Wagner wrote:

Hi Justin,

On Wednesday 16 January 2008 19:39, 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."
   ;;

what if I don't want to kill the cache and only stop the daemon (for what
reason ever)?

With kind regards, Jan.
--
Never write mail to <[EMAIL PROTECTED]>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------


Perhaps per-Robert,

Make one for the cache, one for the daemon?

e.g., when one 'stops' a daemon, shouldn't it kill all relevant processes it created?

Justin.

____________________________________________________________
Policyd-weight Mailinglist - http://www.policyd-weight.org/

Reply via email to