I'm running a few processes using supervisord, named process1, process2, …, process8. If I want to restart process{1-4}, how can I do that with supervisorctl?
How to restart only certain processes using supervisorctl
supervisord
supervisord
I'm running a few processes using supervisord, named process1, process2, …, process8. If I want to restart process{1-4}, how can I do that with supervisorctl?
Best Answer
supervisord supports process groups. You can group processes into named groups and manage them collectively.
supervisorctl command can be called with a group name:
as well as with multiple process names: