# 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 %s: %s" % [ resource.ref, detail] )
76:             end
77:         end
78:         return :stopped
79:     end