fix puma cmd

This commit is contained in:
André Bauer 2016-12-20 15:00:52 +01:00
parent 95fd4d6bc2
commit 50616a44e3

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