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