简体   繁体   中英

PM2 with Node.js — “unsave” a process list?

Following this doc: http://pm2.keymetrics.io/docs/usage/startup/#saving-current-process-list

pm2 save will save the current process list to $PM2_HOME/.pm2/dump.pm2

That all works perfectly, but how do I "un-save"?

Obviously can just delete the dump.pm2 but I have no idea of the repercussions or potential artifacts left from doing that.

Process lists are saved in the file: $PM2_HOME/dump.pm2

To unsave all processes, run the command:

pm2 cleardump

This replaces dump.pm2 with a fresh file. Warning: this cannot be undone.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM