Re: 9.4 & Restarting Multiple Daemons
On Mon, Aug 23, 2004 at 08:39:46AM -0700, ms419@freezone.co.uk wrote:
> Requesting clarification of section 9.4: Console messages from init.d
> scripts.
> [...]
>
> However, it may not be possible restart daemons one at a time: A
> configuration change may prevent the first daemon from restarting while
> subsequent daemons are still using the old configuration. All daemons
> might need to be stopped before the first is started.
>
> In this case, to best represent what the script is doing, & according
> to policy for a consistent startup & shutdown, when should "
> daemon-name" be printed? Before each daemon is stopped? Before each is
> started? Or both?
>From what you describe, would you not be doing and displaying
something like the following when doing a restart?
Stopping foobar daemons: name1 name2 name3.
Starting foobar daemons: name1 name2 name3.
This is a perfectly normal message to receive from an init.d restart
request.
Julian
Reply to: