Moved to puma 3 start command via rails s.
This commit is contained in:
parent
86a35b8ada
commit
7dcd98a5e8
1 changed files with 6 additions and 3 deletions
|
@ -10,8 +10,11 @@ rails r "Setting.set('websocket_port', '$WS_PORT')"
|
||||||
rails r "Setting.set('fqdn', '$IP:$BROWSER_PORT')"
|
rails r "Setting.set('fqdn', '$IP:$BROWSER_PORT')"
|
||||||
rails r "Setting.set('chat_agent_idle_timeout', '45')"
|
rails r "Setting.set('chat_agent_idle_timeout', '45')"
|
||||||
|
|
||||||
pumactl start --pidfile tmp/pids/puma.pid -d -p $APP_PORT -e $RAILS_ENV
|
echo "env used for script/build/test_startup.sh $1 $2 $3"
|
||||||
|
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
|
||||||
script/websocket-server.rb start -d -p $WS_PORT
|
script/websocket-server.rb start -d -p $WS_PORT
|
||||||
script/scheduler.rb start
|
script/scheduler.rb start
|
||||||
|
|
||||||
sleep 5
|
|
||||||
|
|
Loading…
Reference in a new issue