# File lib/thin/daemonizing.rb, line 82 def restart raise ArgumentError, "Can't restart, no 'on_restart' proc specified" unless @on_restart log '>> Restarting ...' stop remove_pid_file @on_restart.call exit! end