This commit is contained in:
chiu 2020-02-17 21:06:58 +08:00
parent 8362e6ddb2
commit f68d3fd920
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ if old_gemfile_text != new_gemfile_text
f.puts exist_str f.puts exist_str
} }
end end
all_command = "#{command1} && cd #{ENV['PWD']} && #{command2}; #{command3}; #{command4}; kill -s TERM `cat tmp/pids/unicorn.pid`; bundle exec #{unicorn_rails} -c config/unicorn.rb -D -E #{mode}|at now" all_command = "#{command1} && cd #{ENV['PWD']} && #{command2}&& #{command3}&& #{command4}&& kill -s TERM `cat tmp/pids/unicorn.pid`; bundle exec #{unicorn_rails} -c config/unicorn.rb -D -E #{mode}|at now"
a = Thread.start do a = Thread.start do
Bundler.with_clean_env do Bundler.with_clean_env do
puts ENV['PWD'] puts ENV['PWD']