fix error

This commit is contained in:
chiu 2021-08-20 12:26:50 +08:00
parent 0bd3f04c31
commit 87dc106de6
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ if bundle_update_flag
#file.write(all_command)
#file.chmod(0755)
#file.close
restart_cmd = "UNICORN_PID=\"`fuser fuser tmp/pids/unicorn.sock tmp/sockets/unicorn.sock tmp/unicorn.sock` `cat tmp/pids/unicorn.pid `\" && kill -s TERM $UNICORN_PID ; while (kill -0 $UNICORN_PID > /dev/null 2>&1) ; do printf '.' && sleep 1 ; done ; unset UNICORN_FD; bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode}"
restart_cmd = "UNICORN_PID=\"`fuser tmp/pids/unicorn.sock tmp/sockets/unicorn.sock tmp/unicorn.sock` `cat tmp/pids/unicorn.pid `\" && kill -s TERM $UNICORN_PID ; while (kill -0 $UNICORN_PID > /dev/null 2>&1) ; do printf '.' && sleep 1 ; done ; unset UNICORN_FD; bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode}"
a = Thread.start do
Bundler.with_clean_env do