Permalink
Browse files

init on db3

  • Loading branch information...
nna774 committed Sep 16, 2018
1 parent d444be3 commit 890438f40ae055566c730c5143c03f92d5a6683f
Showing with 7 additions and 1 deletion.
  1. +7 −1 app/webapp/ruby/lib/torb/web.rb
@@ -171,7 +171,13 @@ def render_report_csv(reports)
end
get '/initialize' do
system "../../db/init.sh"
system "curl http://172.18.25.3/initialize_db3"
status 204
end
get '/initialize_db3' do
system "/home/isucon/torb/db/init.sh"
status 204
end

0 comments on commit 890438f

Please sign in to comment.