We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5fc5f8 commit 6c19e57Copy full SHA for 6c19e57
1 file changed
start.sh
@@ -1,11 +1,12 @@
1
SSR_PATH=/opt/sqlbot/g2-ssr
2
APP_PATH=/opt/sqlbot/app
3
+PM2_CMD_PATH=$SSR_PATH/node_modules/pm2/bin/pm2
4
5
/usr/local/bin/docker-entrypoint.sh postgres &
6
sleep 5
7
wait-for-it 127.0.0.1:5432 --timeout=120 --strict -- echo -e "\033[1;32mPostgreSQL started.\033[0m"
8
-nohup pm2 start $SSR_PATH/app.js &
9
+nohup .$PM2_CMD_PATH start $SSR_PATH/app.js &
10
11
nohup uvicorn main:mcp_app --host 0.0.0.0 --port 8001 &
12
0 commit comments