I have a node js application and I want to run it via PM2. How do I do it. Is there any documentation to support the same. Also if there is any other process manager for Node in Plesk then please help me with it.
Hi same problem here, I installed it globally (I had to do it with sudo user). But then impossible to call pm2 command. It is found in `/opt/plesk/node/18/bin/pm2` but since I do `/opt/plesk/node/18/bin/pm2 status ` I have the error message: `usr/bin/env: ‘node’: No such file or directory`
Pm2 if far better than passenger to handle nodejs processes. Also it allow real time logs which is very useful to debug in ssh (`pm2 logs` or `pm2 logs my-process`)