Update start_site.sh

This commit is contained in:
BoHung Chiu 2022-04-07 13:37:47 +08:00
parent 2b808b55f7
commit a40b75b891
1 changed files with 1 additions and 1 deletions

View File

@ -6,4 +6,4 @@ daemon_args=""
if [[ "$2" != "-ND" ]]; then if [[ "$2" != "-ND" ]]; then
daemon_args="-D" daemon_args="-D"
fi fi
bundle exec unicorn_rails -c config/unicorn.rb -E $rails_env $daemon_args $3 $(if [ ! -z $4 ]; then echo '"'$4'"'; fi) bundle exec unicorn_rails -c config/unicorn.rb -E $rails_env $daemon_args $3 $(if [ ! -z "$4" ]; then echo '"'$4'"'; fi)