Fix PM2 restarting loops
This commit is contained in:
parent
c02dca29c2
commit
e98ad98030
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
"scripts": {
|
||||
"start": "node index.js",
|
||||
"dev": "nodemon index.js",
|
||||
"daemon": "pm2 start index.js --name checkpoint",
|
||||
"daemon": "pm2-runtime start index.js --name checkpoint",
|
||||
"stop": "pm2 stop checkpoint",
|
||||
"restart": "pm2 restart checkpoint",
|
||||
"logs": "pm2 logs checkpoint"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue