How to reset pm2 id?

I am using pm2. After I started my application several times, the identifier increased. I deleted everything in pm2 and started again, but the identifier no longer counted from 0. How can I reset this?

+6
source share
2 answers

The solution is to restart pm2 by typing pm2 killas ItalyPaleAle said in the comments.

+5
source

Over pm2 github:

$ pm2 reset <process>    # Reset meta data (restarted time...)

Link: GitHub Issue No. 1456

0
source

All Articles