Open aventrax opened 4 years ago
There isn't a way to do this currently. I would love to scope it out at some point in the future, though!
Would be usefule to use pm2 to run GUI apps too... I'd love to see a feature where pm2 is run (only) when a certain user is logged in. Thanks.
Call it an enhancement. I've wasted my time installing this and now my windows permissions are broken. After following the uninstall instructions including desconfigure, normal pm2 doesn't work either anymore. Can't use this machine anymore...
@Nubebuster maybe going back to an earlier Windows restore point helps?
@jessety We can not use the "Local Service". Is there some workaround to run the pm2 windows service with a different user?
I'm also happy to help fixing this but I would need some guidance on how to start.
Going to have to go back to some other way to do this. Cannot use Local Service.
It's frustrating that most other Window-based resources for starting PM2 on OS startup are now advocating for use of pm2-installer, but then this only works if your app does not need access to resources outside of the local machine, or other user rights.
This is a pretty necessary feature for us. I need to be able to specify specific users like normal PM2. We have net drives and what not that require specific users, not just the local service.
Sorry for opening a feature request, I cannot find a better place to ask.
I'd like to be able to run pm2 as a particular user, that's because I need to access UNC paths using node. Is it possibile to do that?
In my dreams pm2 running as Local Service with different apps running by different users, keeping the pm2 service accessible and controllable by multiple admin users (or a group of users). But I think this will remain a dream, right?
Thanks