Skip to content

Instantly share code, notes, and snippets.

@lamanotrama
Created June 17, 2014 07:27
Show Gist options
  • Save lamanotrama/bc79697bd6b2b4323905 to your computer and use it in GitHub Desktop.
Save lamanotrama/bc79697bd6b2b4323905 to your computer and use it in GitHub Desktop.
supervisorctl メモ
pid Get the PID of supervisord.
pid <name> Get the PID of a single child process by name.
pid all Get the PID of every child process, one per line.
fg <process> Connect to a process in foreground mode
avail Display all configured processes
add <name> [...] Activates any updates in config for process/group
reload Restart the remote supervisord.
reread Reload the daemon's configuration files
update Reload config and add/remove as necessary
remove <name> [...] Removes process/group from active config
shutdown Shut the remote supervisord down.
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
stop <name> Stop a process
stop <gname>:* Stop all processes in a group
stop <name> <name> Stop multiple processes or groups
stop all Stop all processes
restart <name> Restart a process
restart <gname>:* Restart all processes in a group
restart <name> <name> Restart multiple processes or groups
restart all Restart all processes
status Get all process status info.
status <name> Get status on a single process by name.
status <name> <name> Get status on multiple named processes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment