Re: restart behavior (initscript)

Tobias Burnus <[email protected]>
Newsgroups gmane.linux.lsb.discuss
Message-ID <[email protected]>
Hi,


On Thu, 14 Aug 2003, Mark Hatle wrote:
> > +will not be operational after a restart or reload, the script may return
> +is known not to be operational after a restart or reloca, the script
>
> I just want to make sure it's clear to someone coming in that (at this
> point) the atomic action of those items is not the normal behavior, but
> if it's available they should use it.  I'm not sure if what I wrote
> helps with that...

Well, I think you change is an improvement. I don't know whether it is
ready for an ISO standard like this, though.

Tobias


--- initactions.sgml    12 Aug 2003 21:31:28 -0000      1.10
+++ initactions.sgml    14 Aug 2003 16:52:59 -0000
@@ -33,7 +33,10 @@
 <PARA>
 If a service reloads its configuration automatically (as in the case
 of cron, for example), the reload option of the init file shall
-behave as if the configuration has been reloaded successfully.
+behave as if the configuration has been reloaded successfully. The restart,
+try-restart, reload and force-reload action may be atomic; i.e. if a service
+is known not be operational after a restart or reload, the script may return
+an error without any further action.
 </PARA>
 <PARA>
 These executable files shall not fail obscurely when the configuration
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.