Red Hat Bugzilla – Bug 246920
Initscript Review for ez-ipupdate
Last modified: 2014-06-18 03:36:35 EDT
Please have a look at the wikipage
and change your initscripts to comply with the LSB standard.
Especially check the exit status and add a LSB Header.
E.g. starting a service should return with 0, if the service is already running and stopping a stopped service should also return with 0.
Also check, if your service has to be _on_ per default, and turn it off in the old chkconfig line, if not.
Hmm, this is trickier than it looks at first glance. Given that the init script
can start multiple daemons, I suppose we need to error out when any one of them
fails. I'm also not sure that we handle the situation correctly when start is
run on an already running daemon, etc.
Changes committed in version 3.0.11-0.15.b8