I have deployed my nodejs app in Google Cloud Platform Compute Engine (instance-1), while logged in as user user1
. I installed all the required modules and I ran pm2
on the instance. My site is working fine.
I have another user who has access to that instance. When the other user tried to restart the pm2
process he is not able to access the pm2
process running on user1
's user space. How to resolve this problem so that both the users can modify the process and resources running on the instance?