lib/uined.rb in ruined-0.0.9 vs lib/uined.rb in ruined-0.1.0
- old
+ new
@@ -43,10 +43,10 @@
rescue
svr.logger.error 'failed to kill child (restart)'
end
sleep(1.5)
run_app
- res.body = '<html>restart</html>'
+ res.body = IO::read("#{File.dirname(__FILE__)}/ruined/html/waitclient.html")
end
svr.mount_proc('/quit') do |req, res|
begin
kill_child
rescue