On Wed, Aug 30, 2006 at 08:39:10PM +0200, Bastian Kleineidam wrote:
> Steve Langasek schrieb:
> > On Tue, Aug 29, 2006 at 07:54:32PM +0200, Bastian Kleineidam wrote:
> >> The "|| true" after the stop command must be added regardless of the
> >> usage of invoke-rc.d.
> > Why? That's not the customary usage at all.
> What should be done then in prerm when the stop command fails?
Why is the stop command failing?
The `init.d' scripts should ensure that they will behave sensibly if
invoked with `start' when the service is already running, or with
`stop' when it isn't, and that they don't kill unfortunately-named
user processes. The best way to achieve this is usually to use
`start-stop-daemon'.
Policy 9.3.2.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
[EMAIL PROTECTED] http://www.debian.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]