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

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



apharris@onshore.com (Adam P. Harris)  wrote on 15.01.98 in <[🔎] E0xsigk-00047X-00@burrito.onshore.com>:

> "Christian" == Christian Schwarz <schwarz@monet.m.isar.de> writes:
> > On Wed, 14 Jan 1998, Steve Greenland wrote:
> >> On another note, what about things like cron, which don't *need*
> >> reload -- it tracks its conffiles, and reads them whenever they
> >> change. Should it just implement reload and force-reload as no-ops?
>
> > Yes, I think this would be best. (Some admins might not know this
> > and try to run /etc/init.d/cron reload, so it's best if it simply
> > does nothing.)
>
> 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.

I interpret PW#5-5 to mean it must exit with a zero return code.  
[force-]reload means that the program must be using the new configs; well,  
it will.

MfG Kai


Reply to: