Update start_site.sh

This commit is contained in:
BoHung Chiu 2022-04-07 12:18:53 +08:00
parent de94765169
commit bdfb782520
1 changed files with 1 additions and 1 deletions

View File

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