Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to change the PM2 Service User #44

Merged
merged 1 commit into from
Jan 22, 2022
Merged

Conversation

semics-tech
Copy link
Contributor

I would like to be able to change the service user from the session environment variable.

We sometimes need to use a domain user as an app may need access to files / folders on the network not just the local machine

The code is effectively using coalesce to return the PM2_SERVICE_ACCOUNT and password from $Env and if it's not available, it will default to the LocalService user.

Type

New Feature

Testing

Local

I would like to be able to change the service user from the session environment variable. 

We sometimes need to use a domain user as an app may need access to files / folders on the network not just the local machine

The code is effectively using coalesce to return the PM2_SERVICE_ACCOUNT and password from $Env and if it's not available, it will default to the LocalService user.
@jessety
Copy link
Owner

jessety commented Jan 22, 2022

This is great, thanks @semics-tech!

@jessety jessety merged commit 8835073 into jessety:main Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants