supervisorctl

Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems. Supervisorctl is the command-line client piece of the supervisor which provides a shell-like interface. More information: <http://supervisord.org>.

Install

All systems
curl cmd.cat/supervisorctl.sh
Debian Debian
apt-get install supervisor
Ubuntu
apt-get install supervisor
Alpine
apk add supervisor
Arch Arch Linux
pacman -S supervisor
image/svg+xml Kali Linux
apt-get install supervisor
Fedora
dnf install supervisor
Windows (WSL2)
sudo apt-get update sudo apt-get install supervisor
OS X
brew install supervisor
Raspbian
apt-get install supervisor
Docker
docker run cmd.cat/supervisorctl supervisorctl powered by Commando

Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems. Supervisorctl is the command-line client piece of the supervisor which provides a shell-like interface. More information: <http://supervisord.org>.

  • Show the status of a process (or all processes if `process_name` is not specified):
    supervisorctl status process_name
  • Start/stop/restart a process:
    supervisorctl start|stop|restart process_name
  • Start/stop/restart all processes in a group:
    supervisorctl start|stop|restart group_name:*
  • Show last 100 bytes of process `stderr`:
    supervisorctl tail -100 process_name stderr
  • Keep displaying `stdout` of a process:
    supervisorctl tail -f process_name stdout
  • Reload process config file to add/remove processes as necessary:
    supervisorctl update

© tl;dr; authors and contributors