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 a user property for worker configs #57

Merged
merged 2 commits into from
Sep 6, 2019

Conversation

zabroc
Copy link

@zabroc zabroc commented Nov 14, 2018

In case workers have to use a different user than the supervisord it is running on, I added a configuration

consumer.general.worker.user

which will reflect in the [program:x] configs property user, see http://supervisord.org/configuration.html#program-x-section-settings.

Use Case
Supervisord is running as a root systemctl service but workers need to run as www user.

@Phobetor Phobetor merged commit 2d0904b into Phobetor:master Sep 6, 2019
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