My website instances all run using gunicorn,  and some of them also
use celery.  So, I've made each website a group, and have the
processes "gunicorn" and "celery" under each group.   Ideally, I'd
like to have my program names look like this under supervisorctl:

 * website-foo:gunicorn
 * website-foo:celery
 * website-bar:gunicorn
 * website-bar:celery

..so that when I restart a program,  I just run:  "restart
website-foo:gunicorn".   Unfortunately, from what I can tell,
supervisor has no way to namespace programs into a group.  That is,
each program name must be unique.  So, I'm left with this:

 * website-foo:website-foo.gunicorn
 * website-foo:website-foo.celery
 * website-bar:website-foo.gunicorn
 * website-bar:website-foo.celery

..and instead I have to run "restart
website-foo:website-foo.gunicorn".  Maybe I'm being picky, but having
to type out the website name twice is pretty annoying.  Is there any
way to get what I want, where I can refer to my processes as
"group-name:process-name" ?
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to