improve pm2 command

This commit is contained in:
LouisLam 2021-07-11 19:08:36 +08:00
parent ecc3441444
commit eeb904b1ea

View file

@ -39,7 +39,7 @@ npm run start-server
# (Recommanded) # (Recommanded)
# Option 2. Run in background using PM2 # Option 2. Run in background using PM2
# Install PM2 if you don't have: npm install pm2 -g # Install PM2 if you don't have: npm install pm2 -g
pm2 start npm -- run start-server pm2 start npm --name uptime-kuma -- run start-server
``` ```