This commit is contained in:
chiu 2020-02-17 21:15:24 +08:00
parent 6c17a29589
commit 199ff0e57e
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
}
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
Bundler.with_clean_env do
puts ENV['PWD']