26

I have defined a non-homogenous Supervisor group. However I cannot control that group with the group name.

If I try, I get the following error:

$ supervisorctl start groupname
groupname ERROR (no such process)

I can, however, control a single elements of the group, for example supervisorctl start groupname:programname

Is it possible to control the entire group at once (start/stop/restart all programs in the group)? If so, how?

35

Ah, you use supervisorctl start groupname:*

I discovered this by typing just supervisorctl start and being told:

Error: start requires a process name
start <name>        Start a process
start <gname>:*     Start all processes in a group
start <name> <name> Start multiple processes or groups
start all       Start all processes

...similarly for stop and restart.

| improve this answer | |
  • 2
    They should really add this to the documentation. – casey Jul 25 '15 at 0:00
  • 7
    The * is superfluous, supervisorctl <command> <gname>: is enough. – Matthew Trevor Sep 20 '16 at 4:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.