Skip to content

Commit 3c1d1e6

Browse files
committed
feat: pm2 start ssr service
1 parent 46bdafd commit 3c1d1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ APP_PATH=/opt/sqlbot/app
55
sleep 5
66
wait-for-it 127.0.0.1:5432 --timeout=120 --strict -- echo -e "\033[1;32mPostgreSQL started.\033[0m"
77

8-
nohup node $SSR_PATH/app.js &
8+
nohup pm2 start $SSR_PATH/app.js &
99

1010
nohup uvicorn main:mcp_app --host 0.0.0.0 --port 8001 &
1111

0 commit comments

Comments
 (0)