Mindera / pm2-cookbook

Chef cookbook to install and manage PM2.
MIT License
23 stars 17 forks source link

Support for custom PM2_HOME locations #9

Closed miguelcnf closed 9 years ago

miguelcnf commented 9 years ago

As of 0.4.0 we're overwriting the home attribute as "#{::Dir.home(new_resource.user)}/.pm2" since it's the only way PM2 is able to persist processes over reboots.

https://github.com/Unitech/PM2/pull/1213 should fix this and allow to have a custom PM2_HOME to be set.

Even tho IMO we should force having the .pm2 directory always appended.

Creating this to track it.

jarosser06 commented 9 years ago

Was just debugging this issue on a staging node.

miguelcnf commented 9 years ago

This is being addressed in #11.

miguelcnf commented 9 years ago

Fixed in 0.6.0 released just now.