andrewrk/naught — pull request #59 by ross-p (2014-10-03 17:14:50+00:00)
Title: Do not error exit when stopping a service that is not running

Now when you try to stop a service that is not running, it exits cleanly rather than issuing an error code. The intent "service should not be running" is satisfied even though we didn't actually have to stop it.

This allows init.d scripts to do things like "shut down naught" just by saying "naught stop". If naught was not already running, we really don't care. It should be stopped, that is the point.