Fix PM2 next.js startup command
This commit is contained in:
1 parent
45a687a447
commit
33038e4a42
4 files changed
+13
-4
No files matched your search
@@ -136,7 +136,7 @@ cd $TARGET_SSR
|
||||
echo ">>> Managing PM2 Process: $PM2_NAME_SSR..."
|
||||
$PM2 restart $PM2_NAME_SSR 2>/dev/null || \
|
||||
$PM2 start $BUN --name $PM2_NAME_SSR \
|
||||
-- run next start -p $SSR_PORT
|
||||
-- x next start -p $SSR_PORT
|
||||
echo "✅ PM2 process '$PM2_NAME_SSR' is running on port $SSR_PORT."
|
||||
|
||||
# I. Cleanup
|
||||
|
||||
Reference in new issue
Block a user