It seems to be a bug in puma 3.0.2, not able to use own --pid param.
This commit is contained in:
parent
7dcd98a5e8
commit
f4f99306b9
2 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,7 @@ EXIT=$4 || 0
|
|||
|
||||
script/scheduler.rb stop
|
||||
script/websocket-server.rb stop
|
||||
kill $(cat tmp/pids/puma.pid)
|
||||
kill $(cat tmp/pids/server.pid)
|
||||
|
||||
rake db:drop
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ echo "export RAILS_ENV=$RAILS_ENV"
|
|||
echo "export IP=$IP"
|
||||
echo "export BROWSER_PORT=$BROWSER_PORT"
|
||||
|
||||
rails s puma -d --pid tmp/pids/puma.pid --bind 0.0.0.0 --port $APP_PORT
|
||||
#rails s puma -d --pid tmp/pids/server.pid --bind 0.0.0.0 --port $APP_PORT
|
||||
rails s puma -d --bind 0.0.0.0 --port $APP_PORT
|
||||
script/websocket-server.rb start -d -p $WS_PORT
|
||||
script/scheduler.rb start
|
||||
|
|
Loading…
Reference in a new issue