Bug#198120: debian-policy: 10.3 init scripts secret options
On Fri, Jun 20, 2003 at 03:13:37 +0800, Dan Jacobson wrote:
> in the policy manual
> 10.3.2 Writing the scripts
> .... These scripts should be named /etc/init.d/package,
> and they should accept one argument, saying what to do:
> start start the service, .... The start, stop, restart, and
> force-reload options should be supported by all scripts in
> /etc/init.d, the reload option is optional.
> OK, but you don't say if the script can have 'secret other arguments'
> than start...
> We see "or to specify some special command line options when starting
> a service," so the above "accept one argument" appears to be flexible.
> we see: 'The start, stop, restart, and force-reload options should be supported
> by all scripts in /etc/init.d, the reload option is optional.'
> But be explicit about choices beyond these 5 or 4.
> Also "should accept one argument, saying what to do:" should be
> explicit about if it is at least one, or only one.
Sorry, I don't understand. What do you want?