Path: | lib/puppet/provider/service/base.rb |
Last Update: | Wed Dec 09 12:54:29 -0800 2009 |
Check if the process is running. Prefer the ‘status’ parameter, then ‘statuscmd’ method, then look in the process table. We give the object the option to not return a status command, which might happen if, for instance, it has an init script (and thus responds to ‘statuscmd’) but does not have ‘hasstatus’ enabled.