1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add supervisorctl documentation

This commit is contained in:
Matt Wright 2012-08-08 11:04:44 -04:00
parent 10387cb19c
commit ff9072db7d

View file

@ -741,6 +741,26 @@ Example action from a playbook::
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