# File lib/chef/provider/service/simple.rb, line 95 def restart_service if @new_resource.restart_command shell_out!(@new_resource.restart_command) else stop_service sleep 1 start_service end end