try fix problem

This commit is contained in:
chiu 2020-02-26 18:24:22 +08:00
parent 124ab392d1
commit 572663f55c
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ if old_gemfile_text != new_gemfile_text
} }
end end
all_command = "#{install_cmd} #{command1} ; #{command4} " all_command = "#{install_cmd} #{command1} ; #{command4} "
watch_dog_cmd = "watch -n 30 \"unset UNICORN_FD && bundle exec #{unicorn_rails} -c config/unicorn.rb -D -E #{mode}|at now\"" watch_dog_cmd = "watch -n 30 \'unset UNICORN_FD && bundle exec #{unicorn_rails} -c config/unicorn.rb -D -E #{mode}\'"
#file = File.new(File.join(env_pwd,'bundle_update_background.sh'),"w") #file = File.new(File.join(env_pwd,'bundle_update_background.sh'),"w")
#file.write(all_command) #file.write(all_command)
#file.chmod(0755) #file.chmod(0755)