Bug#491318: init scripts "should" support start/stop/restart/force-reload - why not "must"?
On Fri, 18 Jul 2008, Peter Samuelson wrote:
> The `start', `stop', `restart', and `force-reload' options should be
> supported by all scripts in `/etc/init.d', the `reload' option is
> optional.
>
> Is there any reason not to upgrade "should" to "must"? What is the
> point of an init script that does not support those arguments?
Some init scripts are used only during boot and thus they only need
"start" to work properly (example: /etc/init.d/sudo). But I wouldn't mind
to require all the scripts to accept all the options.
Cheers,
--
Raphaël Hertzog
Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/
Reply to: