# File lib/puppet/provider/service/daemontools.rb, line 115
115:     def status
116:         begin
117:             output = svstat self.service
118:             if output =~ /:\s+up \(/
119:                 return :running
120:             end
121:         rescue Puppet::ExecutionFailure => detail
122:             raise Puppet::Error.new( "Could not get status for service %s: %s" % [ resource.ref, detail] )
123:         end
124:         return :stopped
125:     end