SOURCES: cherokee.init - disable reload, as server dies instead of...

Jakub Bogusz qboosh at pld-linux.org
Thu Jan 5 09:46:53 CET 2006


On Sat, Dec 31, 2005 at 05:01:28PM +0100, glen wrote:
> Author: glen                         Date: Sat Dec 31 16:01:28 2005 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - disable reload, as server dies instead of get reloaded

> -  restart)
> +  restart|reload)
>  	$0 stop
>  	$0 start
>  	exit $?

Such "reload" option doesn't conform to LSB:

<quote>
reload       cause the configuration of the service to be reloaded without
             actually stopping and restarting the service
</quote>

"reload" action is optional and init script is allowed to return status
code 3 if action is unimplemented.


-- 
Jakub Bogusz    http://qboosh.cs.net.pl/


More information about the pld-devel-en mailing list