From ff9072db7dea506c0e9d26bf09d0723d7eafdfe1 Mon Sep 17 00:00:00 2001 From: Matt Wright Date: Wed, 8 Aug 2012 11:04:44 -0400 Subject: [PATCH] Add supervisorctl documentation --- rst/modules.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/rst/modules.rst b/rst/modules.rst index 8497bb55fa2..42c4481ae22 100644 --- a/rst/modules.rst +++ b/rst/modules.rst @@ -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