Update environment vars on restart --update-env ?
Nogbit opened this issue · 0 comments
Nogbit commented
PM2 supports --update-env
, for example...
$ ENV_VAR=somethingnew pm2 restart app --update-env
Is it possible to add another action similar to the current :restart
that will support this?
We use chef to build an image that is then later used by GCE. These env vars during boot can come from an init and be different than what existed at build time.