[Supervisor-users] [Fwd: Re: FastCGI - socket not being created with correct user]
Phillip Oldham
phill at activityhq.com
Mon Oct 19 03:31:19 EDT 2009
Chris McDonough wrote:
> There is a separate "user" parameter that is set in the [supervisord] section
> that may help you work around the issue. The entire supervisord process (and
> any children, and any socket files) will be run/written using that userid.
>
> [supervisord]
> user = nginx
>
> Please read http://supervisord.org/manual/current/configuration.html#supervisord
>
Thanks. I'll see if I can get that to work.
However, is there a way to have supervisord run as root, yet have the
socket created by another user? eg:
[supervisord]
user = root
...
[fcgi-program:php]
user = nginx
socket = unix:///tmp/php.sock
...
More information about the Supervisor-users
mailing list