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

Allow ENV to overwrite PORTS on Windows #5931

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

doesdev
Copy link

@doesdev doesdev commented Dec 20, 2024

Currently for Windows the ports are overridden with static values after allowing ENV to overwrite those same settings. Users should be allowed to specify these via ENV on Windows the same as other platforms. In particular, by setting those PM2 can effectively run under less privileged users when being run as a service (via pm2-installer).

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #5930
License MIT
Doc PR N/A

Currently for Windows the ports are overridden with static values after allowing ENV to overwrite those same settings. Users should be allowed to specify these via ENV on Windows the same as other platforms. In particular, by setting those PM2 can effectively run under less privileged users when being run as a service (via pm2-installer).
@CLAassistant
Copy link

CLAassistant commented Dec 20, 2024

CLA assistant check
All committers have signed the CLA.

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.

2 participants