[Supervisor-users] FastCGI - socket not being created with correct user
Chris McDonough
chrism at plope.com
Fri Oct 16 12:33:57 EDT 2009
Phillip Oldham wrote:
> I have Supervisord running as root, and I'm using it to start & monitor
> PHP instances via FastCGI. When the PHP socket is created it is owned by
> the user running Supervisord, which means my webserver (nginx) can't use
> the socket. I've tried setting the `user` parameter in the config, along
> with `chown`, but neither change the socket's owner.
>
> How can I address this?
One surefire way would be to start supervisor as root, but have it drop
privileges to the same user that nginx runs as (with the "user" parameter as
described in this docs section:
http://supervisord.org/manual/current/configuration.html#supervisord) instead
of process config.
- C
> _______________________________________________
> Supervisor-users mailing list
> Supervisor-users at lists.supervisord.org
> http://lists.supervisord.org/mailman/listinfo/supervisor-users
>
More information about the Supervisor-users
mailing list