Update start_site.sh
This commit is contained in:
parent
a40b75b891
commit
ace258f6c1
|
@ -6,4 +6,8 @@ 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)
|
if [ -z "$4" ]; then
|
||||||
|
bundle exec unicorn_rails -c config/unicorn.rb -E $rails_env $daemon_args $3
|
||||||
|
else
|
||||||
|
bundle exec unicorn_rails -c config/unicorn.rb -E $rails_env $daemon_args $3 "$4"
|
||||||
|
fi
|
Loading…
Reference in New Issue