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

Re: Service stopping in prerm considered harmful



Ed Falk wrote, 2008-03-28 01:35:
For the nth time squared, an initscript MUST NOT FAIL to stop an
already stopped service.

How is it supposed to do that? The service isn't running, so can't be
stopped, therefore the script (if called to stop it) can only fail
to stop it...

If the service is already stopped, then the script should declare
victory and return.  Am I missing something?

Yes - the fact that the comment you replied to was language pedantry rather than a technical argument. :)

Adam
Reply to: