How do I host node.js apps with pm2 without running them as root?
- by jishi
I have setup pm2 to run a node.js application, and I can successfully start it and it will resurrect upon reboot.
However, the pm2 daemon is ran as root, which makes me think that all my node-scripts also runs as root? Even though I added them as a regular user in the system. The log files and stuff is created in the users home dir, /~/.pm2/logs,…