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

Bug#208010: [PROPOSAL] init script LSB 1.3 compliance (revised)



On Mon, Sep 01, 2003 at 10:58:50AM +0200, Martin Godisch wrote:
> --- debian-policy-3.6.1.0.orig/policy.sgml	2003-08-19 14:32:23.000000000 +0200
> +++ debian-policy-3.6.1.0/policy.sgml	2003-09-01 10:52:12.000000000 +0200
> @@ -5362,13 +5362,16 @@
>  	      <tag><tt>force-reload</tt></tag>
>  	      <item>cause the configuration to be reloaded if the
>  		  service supports this, otherwise restart the
> -		  service.</item>
> +		  service,</item>
> +
> +	      <tag><tt>status</tt></tag>
> +	      <item>print the current status of the service.</item>
>  	    </taglist>

I'd like to see a standard message format in section 9.4 ("Console
messages from init.d scripts"). It's probably appropriate to let init
scripts provide more detail if it's useful in particular cases, but
something like:

  Checking status of printer spooler: running.
  Checking status of OpenBSD Secure Shell server: stopped.

... as the first line of the output would be kind of nice.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: