Bug#198120: debian-policy: 10.3 init scripts secret options
Package: debian-policy
Version: 3.5.8.0
Severity: wishlist
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.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux debian 2.4.20-k7 #1 Tue Jan 14 00:29:06 EST 2003 i686
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5
-- no debconf information
Reply to: