# File lib/chef/provider/service/init.rb, line 65 def restart_service if @new_resource.restart_command super elsif @new_resource.supports[:restart] shell_out!("#{@init_command} restart") else stop_service sleep 1 start_service end end