Open jeffrson opened 3 weeks ago
Calling pm2 startup generates the following command: sudo env PATH=$PATH:/..path_of_current_node.. /..path_of_current_pm2 startup systemd -u user --hp /home/user
pm2 startup
So if "path_of_current_node" is a special version (manually executed) it will not be used, if $PATH of user contains another version.
pm2 5.4.2
What's going wrong?
Calling
pm2 startup
generates the following command: sudo env PATH=$PATH:/..path_of_current_node.. /..path_of_current_pm2 startup systemd -u user --hp /home/userSo if "path_of_current_node" is a special version (manually executed) it will not be used, if $PATH of user contains another version.
How could we reproduce this issue?
pm2 startup
Supporting information
pm2 5.4.2