New "pattern=" for the service module

As we all know, whether an init script reports an accurate status or not is one of the most frustrating thing in managing computers. Most init scripts are terrible.

Stephen Fromm has added a nice patch that we've been looking for for a while. Assume the service foo doesn't support "status", you can now do stuff like this:

service name=foo pattern=/usr/sbin/foo state=started

And the service status will be inferred by looking for the above string in the output of the 'ps' command.

I know a lot of people will be really happy to see this. Thanks Stephen!

--Michael

I have used this and it is awesome.

James