MarseyWorld/startup_chat.sh

14 lines
307 B
Bash
Raw Normal View History

2022-09-24 04:26:44 +00:00
#!/bin/bash
2022-08-14 02:46:01 +00:00
cd /rDrama
2022-09-24 04:26:44 +00:00
2022-08-14 02:46:01 +00:00
. /env
2022-11-30 18:38:55 +00:00
PATH="${NVM_DIRECTORY}/versions/node/v${NODE_VERSION}/bin/:${PATH}"
2022-09-24 04:26:44 +00:00
cd ./chat
yarn install
yarn chat
cd ..
gunicorn files.__main__:app load_chat -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:5001 --max-requests 30000 --max-requests-jitter 30000