changed puma cmd

This commit is contained in:
André Bauer 2016-12-20 14:59:13 +01:00
parent 7e5c7b97ba
commit 95fd4d6bc2

View File

@ -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 puma -p 3000 -b tcp://0.0.0.0 bundle exec puma tcp://0.0.0.0:3000
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