[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: use of "invoke-rc.d $PACKAGE stop || exit $?" in prerm scripts

On Tue, May 23, 2006 at 10:21:53AM -0300, Henrique de Moraes Holschuh wrote:
> There is nothing preferable about it.  Stop targets *are* to exit with
> status 0 if the service is already stopped.
> The fact that Debian policy still has this as a "should" clause is just
> cruft that needs to be addressed.  There are absolutely no acceptable
> exceptions to either this rule (stopping a stopped service is okay) nor to
> its counterpart (starting an already started service is okay), as far as I
> know.

Absolutely ack.

Francesco P. Lovergine

Reply to: