Hallo Florian, Florian Weimer <[EMAIL PROTECTED]> wrote: > * Luis Rodrigo Gallardo Cruz: > >>> So in the end I agree that would be sensible to exit with 0, if the >>> process is not running, cause their might be different errors to occur >>> when stopping (even though I never met one), but that it would make >>> sense to describe this more clear in the policy. >> >> IIRC, lsb requires exiting with 0 in this case. > > OTOH, if you want to avoid restarting a non-running service, you need > to obtain somehow that piece of informati from the init.d script run. > The exit status would be a way to do this.
You should disable the service at all (remove the symlinks or put a - in /etc/runlevel.conf) and invoke-rc.d takes care of this. Bye, Jörg. -- [dpkg] We are the apt. Resistance is futile. You will be packaged. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]