Thanks Antonio, must have been blind when I set up the sources :)

On Jul 13, 11:44 am, Antonio Pérez <[email protected]> wrote:
> Hello,
>
> Look the screenshot here[1]. "Execute as user"
>
> [1]http://www.cherokee-project.com/doc/config_info_sources.html
>
>
>
>
>
>
>
>
>
> On Wed, Jul 13, 2011 at 11:28 AM, Voltron <[email protected]> wrote:
> > Aha, great, how? I did not find that functionality in the docs. Thanks
>
> > On Jul 13, 9:57 am, Stefan de Konink <[email protected]> wrote:
> >> On Wed, 13 Jul 2011, Voltron wrote:
> >> > My Python backend sources always write log files in a certain folder
> >> > relative to where they exist. If something happens, and Cherokke has
> >> > to respawn any of the sources, they are run not as the original owner,
> >> > but as the user www-user running Cherokee, that means no rights to
> >> > write the log files anymore and the sources do not start.
>
> >> > I have modified the logfile directory to allow the www-user to access
> >> > the directory, but I would like to know if it possible to make
> >> > Cherokee respawn the sources using another user.
>
> >> If the backend is a source, and you make Cherokee spawn it, Cherokee
> >> itself is running as root (but the worker works as www-user), Cherokee can
> >> still spawn the Python script under another user.
>
> >> Stefan
> >> _______________________________________________
> >> Cherokee mailing list
> >> [email protected]http://lists.octality.com/listinfo/cherokee
> > _______________________________________________
> > Cherokee mailing list
> > [email protected]
> >http://lists.octality.com/listinfo/cherokee
>
> --
> Saludos:
> Antonio Pérez
> _______________________________________________
> Cherokee mailing list
> [email protected]http://lists.octality.com/listinfo/cherokee
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to