How to run pm2 so other server users are able to access the process?
Here’s how we bypassed this. Just create a group Create a new group pm2 or whatever name works for you $ groupadd pm2 Change the /var/www/ folder group owner to group pm2 $ chgrp -R pm2 /var/www Add the other user, let’s say bob, to pm2 $ usermod -aG pm2 bob Now bob can run … Read more