From bdfb78252058839ab772c1b1027f8dcdee4cf3ca Mon Sep 17 00:00:00 2001 From: Bohung Date: Thu, 7 Apr 2022 12:18:53 +0800 Subject: [PATCH] Update start_site.sh --- start_site.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start_site.sh b/start_site.sh index a9f5605..dc597e9 100644 --- a/start_site.sh +++ b/start_site.sh @@ -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" \ No newline at end of file +bundle exec unicorn_rails -c config/unicorn.rb -E $rails_env $daemon_args $3 $(if [ ! -z $4 ]; then echo '"'$4'"'; fi) \ No newline at end of file