From 87dc106de66f5949b98ec0e64dcd720ef46de6fc Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 20 Aug 2021 12:26:50 +0800 Subject: [PATCH] fix error --- announcement.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/announcement.gemspec b/announcement.gemspec index 6d488c1..3f33f56 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -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