mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
supervisord & supervisorctl: add page (#1226)
This commit is contained in:
parent
bc79616bc8
commit
8ce649c7b9
2 changed files with 36 additions and 0 deletions
24
pages/common/supervisorctl.md
Normal file
24
pages/common/supervisorctl.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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.
|
||||
|
||||
- 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`
|
12
pages/common/supervisord.md
Normal file
12
pages/common/supervisord.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# supervisord
|
||||
|
||||
> Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.
|
||||
> Supervisord is the server piece of supervisor, Most of supervisord's config should be placed in configuration file, some basic usage will be listed here.
|
||||
|
||||
- Start supervisord with specified configuration file:
|
||||
|
||||
`supervisord -c {{path/to/file}}`
|
||||
|
||||
- Run supervisord in the foreground:
|
||||
|
||||
`supervisord -n`
|
Loading…
Add table
Reference in a new issue