Permalink
Browse files

Merge pull request #179 from mattupstate/supervisorctl

Add supervisorctl documentation
  • Loading branch information...
2 parents 0560619 + ff9072d commit 05ded8d363d5a4c815bb1317cd24c55ebb436654 @mpdehaan mpdehaan committed Aug 10, 2012
Showing with 20 additions and 0 deletions.
  1. +20 −0 rst/modules.rst
View
@@ -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

0 comments on commit 05ded8d

Please sign in to comment.