Closed miguelcnf closed 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.
"#{::Dir.home(new_resource.user)}/.pm2"
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.
.pm2
Creating this to track it.
Was just debugging this issue on a staging node.
This is being addressed in #11.
Fixed in 0.6.0 released just now.
0.6.0
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.