[rabbitmq-discuss] How To Set User Celeryd Workers Run As

SixDegrees paulcarlisle at comcast.net
Mon Oct 17 11:57:17 BST 2011


Additional note: I'm also restarting supervisord between changes, along with
everything else.


SixDegrees wrote:
> 
> Still slogging away at this stuff, still despairing that it will ever
> work.
> 
> Our latest problem: tasks launched via Django are expected to write to
> various directories where normally only the apache user has permission. I
> am getting a huge dump of 'Permission denied' errors in the celeryd log. I
> have changed CELERYD_USER to 'apache' in both settings.py and
> /etc/default/celeryd, and changed the user celeryd runs as to 'apache' in
> the supervisord celeryd.ini file, restarting celeryd and apache after each
> change, all to no avail.
> 
> I really don't want to open up permissions on these directories; up until
> now, we've simply been using a system call to launch background tasks, and
> that has worked perfectly with access granted only to apache.
> 

-- 
View this message in context: http://old.nabble.com/How-To-Set-User-Celeryd-Workers-Run-As-tp32666069p32666159.html
Sent from the RabbitMQ mailing list archive at Nabble.com.



More information about the rabbitmq-discuss mailing list