# File lib/puppet/provider/service/runit.rb, line 69
69:   def status
70:     begin
71:       output = sv "status", self.daemon
72:       return :running if output =~ /^run: /
73:     rescue Puppet::ExecutionFailure => detail
74:       unless detail.message =~ /(warning: |runsv not running$)/
75:         raise Puppet::Error.new( "Could not get status for service #{resource.ref}: #{detail}" )
76:       end
77:     end
78:     :stopped
79:   end