[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PW#5-5: Standardized handling of /etc/init.d script options



"Hamish" == Hamish Moffatt <hamish@debian.org> writes:
> On Thu, Jan 15, 1998 at 01:22:01AM +0500, Adam P. Harris wrote:
>> Tut tut!  What you really mean must be: does nothing but exits with
>> a non-zero status.  Or else we need to reword PW#5-5.

> Is a non-zero status useful? After all, cron WILL reload the
> configuration, even though that isn't caused by the script.  A
> reload will occur, which is success.

Yes, I see your point, and agree, actually.  Namely, the assertion is
that if I get a non-zero from '/etc/init.d/XXX reload' that means it
didn't reload at all and I'll need to try restart or stop/start.

.....A. P. Harris...apharris@onShore.com...<URL:http://www.onShore.com/>


Reply to: