diff --git a/serverinfo/post-receive b/serverinfo/post-receive index 309d374..92c03db 100644 --- a/serverinfo/post-receive +++ b/serverinfo/post-receive @@ -126,11 +126,11 @@ echo ">>> Fixing Permissions..." chown -R ti:ti $TARGET_BACKEND $TARGET_SSR # H. PM2 Management - SSR Next.js -cd $TARGET_SSR +cd $TARGET_SSR/apps/ssr echo ">>> Managing PM2 Process: $PM2_NAME_SSR..." $PM2 delete $PM2_NAME_SSR 2>/dev/null || true PORT=$SSR_PORT $PM2 start $BUN --name $PM2_NAME_SSR \ - -- apps/ssr/server.js + -- server.js echo "✅ PM2 process '$PM2_NAME_SSR' is running on port $SSR_PORT." # I. Cleanup