Merge pull request #179 from mattupstate/supervisorctl
Add supervisorctl documentation
This commit is contained in:
commit
05ded8d363
1 changed files with 20 additions and 0 deletions
|
@ -741,6 +741,26 @@ Example action from a playbook::
|
||||||
shell somescript.sh >> somelog.txt
|
shell somescript.sh >> somelog.txt
|
||||||
|
|
||||||
|
|
||||||
|
.. _supervisorctl:
|
||||||
|
|
||||||
|
supervisorctl
|
||||||
|
`````````````
|
||||||
|
|
||||||
|
Manage the state of a program or group of programs running via Supervisord
|
||||||
|
|
||||||
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
||||||
|
| parameter | required | default | comments |
|
||||||
|
+====================+==========+=========+============================================================================+
|
||||||
|
| name | yes | | The name of the supervisord program/process to manage |
|
||||||
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
||||||
|
| state | yes | | 'started', 'stopped' or 'restarted' |
|
||||||
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
||||||
|
|
||||||
|
Example action from a playbook::
|
||||||
|
|
||||||
|
supervisorctl name=my_app state=started
|
||||||
|
|
||||||
|
|
||||||
.. _template:
|
.. _template:
|
||||||
|
|
||||||
template
|
template
|
||||||
|
|
Loading…
Reference in a new issue