Closed Unitech closed 6 years ago
It's because they were stored in dump file. And after dump file refactoring we don't allow to save an empty file.
If you want to save an empty process list you have to use special command :
pm2 cleardump
Thanks, this should be documented here: https://pm2.io/doc/en/runtime/guide/startup-hook/
Oups ... yes we forget this feature in documentation. I will add it.
https://github.com/Unitech/pm2/blob/29cccd9437e75e36f56d1afb0de3d73a5d033d21/lib/API/Startup.js#L407