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