Pm2: Feature request: Auto save

Created on 8 Apr 2016  路  7Comments  路  Source: Unitech/pm2

Hi,

Couldn't see if this had been bought up, and couldn't find anything in the docs.

It would be great to be able to enable auto-save of apps. We have a slightly manual deploy process currently and its very easy for people to forget to call pm2 save. It seems like it would be a useful feature to be able to enable.

PM2 v3 Daemon Startup Feature

Most helpful comment

pm2 save pm2:autodump true

Little correction. It's pm2 set pm2:autodump true

All 7 comments

+1

+1

This feature make sense we will have to do some changes on startup scripts:

Drop pm2 delete all here:

Also some questions will come up, like how should we handle previous init scripts that call pm2 delete all?

I hope this will be opt-in feature, because current behaviour is the reason why pm2 save exists.

Is there anything going on for this feature? Because I am excited for this.

pm2 set pm2:autodump true

pm2 save pm2:autodump true

Little correction. It's pm2 set pm2:autodump true

Was this page helpful?
0 / 5 - 0 ratings