Phobetor / rabbitmq-supervisor-bundle

Symfony bundle to automatically create and update supervisor configurations for RabbitMQ consumer daemons
MIT License
104 stars 42 forks source link

Allow a user property for worker configs #57

Closed zabroc closed 5 years ago

zabroc commented 5 years ago

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.