# File lib/chef/provider/service/simple.rb, line 86 def stop_service if @new_resource.stop_command run_command(:command => @new_resource.stop_command) else raise Chef::Exceptions::Service, "#{self.to_s} requires that stop_command to be set" end end