On Tue 28 Oct 2008 at 03:56PM, Brock Pytlik wrote:
> Yeah, I changed all the exit 1's to ERR_CONFIG, but I'm not certain
> that's the right use, especially in the Usage case.
> > - Missing a stop case; do we need one of those?
> >
> Well, in the manifest, we define a stop method that kills the depots and
> their child processes, if I've understood what's been explained to me. I
> think that's all we need unless I'm mistaken about how SMF works or we
> want to do some kind of cleanup or gentle shutdown of the depot.
Yes, that's right-- it's nice because specifying :kill in the
manifest means that SMF will precisely terminate the contract which was
launched. You must be careful in stop methods not to do e.g. 'pkill
pkg.depotd', since that would kill too many things.
-dp
--
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss