    # File lib/chef/provider/service/solaris.rb, line 65
            def service_status
              status = popen4("#{@status_command} #{@current_resource.service_name}") do |pid, stdin, stdout, stderr|
                stdout.each do |line|
                  case line
                  when /state\s+online/
                    @current_resource.enabled(true)
                    @current_resource.running(true)
                  end
                end
              end
              unless @current_resource.enabled
                @current_resource.enabled(false)
                @current_resource.running(false)
              end
              @current_resource
            end