# File lib/chef/provider/service.rb, line 89 def action_reload unless (@new_resource.supports[:reload] || @new_resource.reload_command) raise Chef::Exceptions::UnsupportedAction, "#{self.to_s} does not support :reload" end if @current_resource.running Chef::Log.debug("#{@new_resource}: attempting to reload") if reload_service @new_resource.updated_by_last_action(true) Chef::Log.info("#{@new_resource}: reloaded successfully") end end end