Wait till services are ready.

This commit is contained in:
Martin Edenhofer 2016-03-01 22:58:05 +01:00
parent 4efc0c37e6
commit 86a35b8ada

View file

@ -13,3 +13,5 @@ rails r "Setting.set('chat_agent_idle_timeout', '45')"
pumactl start --pidfile tmp/pids/puma.pid -d -p $APP_PORT -e $RAILS_ENV
script/websocket-server.rb start -d -p $WS_PORT
script/scheduler.rb start
sleep 5