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