Forrest logo
back to the supervisorctl tool

supervisorctl:tldr:25f70

supervisorctl: Start/stop/restart all processes in a group.
$ supervisorctl ${select} ${group_name}:*
try on your machine

This command is using the "supervisorctl" tool to control processes managed by the Supervisor process control system.

The command takes three parameters:

  1. ${select}: This is a placeholder indicating that you should replace it with either "start", "stop", "restart", or other supported actions.
  2. ${group_name}: This is another placeholder indicating that you should replace it with the name of a process group defined in the Supervisor configuration.
  3. :*: This is a wildcard character indicating that the command should be applied to all the processes within the specified process group.

So when you replace ${select} with an action (such as "start"), and ${group_name} with the actual name of a process group, the command will start all the processes within that group.

For example, if you want to start all processes in the group named "web_servers", you would use the following command:

supervisorctl start web_servers:*

This is a convenient way to perform actions on multiple processes within a group without having to specify each process individually.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the supervisorctl tool