change puma command
This commit is contained in:
parent
89740abe3c
commit
c08423c5ad
@ -56,7 +56,7 @@ if [ "$1" = 'zammad' ]; then
|
|||||||
bundle exec script/scheduler.rb start &
|
bundle exec script/scheduler.rb start &
|
||||||
|
|
||||||
if [ "${RAILS_SERVER}" == "puma" ]; then
|
if [ "${RAILS_SERVER}" == "puma" ]; then
|
||||||
bundle exec rails s -p 3000 -b 0.0.0.0
|
bundle exec puma -p 3000 -b tcp://0.0.0.0
|
||||||
elif [ "${RAILS_SERVER}" == "unicorn" ]; then
|
elif [ "${RAILS_SERVER}" == "unicorn" ]; then
|
||||||
bundle exec unicorn -p 3000 -c config/unicorn.rb
|
bundle exec unicorn -p 3000 -c config/unicorn.rb
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user