ngc -H, last line ngc -y (stop unneded) That will stop all daemons and services that are not needed by any dep.
/Jimmy On Thu, 2006-06-08 at 12:31 +0200, gil ran wrote: > I write again because I got no reply: > > ---------- Forwarded message ---------- > From: gil ran <[EMAIL PROTECTED]> > Date: May 31, 2006 8:04 PM > Subject: Automatic stop of unused services/daemons > To: [email protected] > > Hi. > > Is there a way to set a daemon/service to automatically stop when all > services/daemons that depend on it are stopped? > > For example, both nfs-server and nfs-client need rpc-statd. If both > are stopped I want rpc-statd to be stopped as well. > I can't set also_stop in one, because the other may still be up. > > Ideas? > -- _______________________________________________ Initng mailing list [email protected] http://jw.dyndns.org/mailman/listinfo/initng
