You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pm2 startup -u user --hp /opt/user is not run as root, it generates a command that should be executed via sudo. That command, however, is generated with process.env.HOME instead of the actual argument of --hp.
How could we reproduce this issue?
Just execute pm2 startup -u user --hp /opt/user
it will show command with --hp of executing user.
Supporting information
pm2 5.4.2
The text was updated successfully, but these errors were encountered:
What's going wrong?
When
pm2 startup -u user --hp /opt/user
is not run as root, it generates a command that should be executed via sudo. That command, however, is generated with process.env.HOME instead of the actual argument of --hp.How could we reproduce this issue?
Just execute
pm2 startup -u user --hp /opt/user
it will show command with --hp of executing user.
Supporting information
pm2 5.4.2
The text was updated successfully, but these errors were encountered: