Basically I want to run supervisor and have it administer celery workers on a 
number of servers. The issue is that unless you give your celery workers unique 
names it gets interesting trying to control them remotely. Ideally I'd like to 
append the hostname to the process_name parameter in the config. I tried 
setting an env variable but that obviously didn't work. Short of either 
tweaking supervisors or celery's source, is there a known way to do this kind 
of thing?

here's my current config in any case: 

[program:celeryd]
command=/Users/joe/projects/platform/manage.py celeryd 
--settings=settings.local_prod -l info 
--hostname=%(program_name)s_%(process_num)03d
process_name=%(program_name)s_%(process_num)03d
numprocs=3 


Thanks!
-j

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to