# File lib/chef/provider/service.rb, line 69 def action_stop if @current_resource.running Chef::Log.debug("#{@new_resource}: attempting to stop") if stop_service @new_resource.updated_by_last_action(true) Chef::Log.info("#{@new_resource}: stopped successfully") end else Chef::Log.debug("#{@new_resource}: not stopping, already stopped") end end