From d0c45fb8abbb7f77b7d947587443240ccbf03d41 Mon Sep 17 00:00:00 2001 From: Joe Digilio Date: Sat, 22 Jan 2011 10:51:18 -0800 Subject: Support ability to pass parameters to Upstart services --- doc/server/plugins/generators/rules.txt | 56 ++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 26 deletions(-) (limited to 'doc') diff --git a/doc/server/plugins/generators/rules.txt b/doc/server/plugins/generators/rules.txt index 511cfbb47..fe60a24fd 100644 --- a/doc/server/plugins/generators/rules.txt +++ b/doc/server/plugins/generators/rules.txt @@ -116,32 +116,36 @@ See :ref:`client-tools-actions` Service Tag ----------- -+----------+--------------------------+---------------------------------------+ -| Name | Description | Values | -+==========+==========================+=======================================+ -| mode | Per Service Mode (New in | (manual|default|supervised|custom) | -| | 1.0) | | -+----------+--------------------------+---------------------------------------+ -| name | Service Name | String | -+----------+--------------------------+---------------------------------------+ -| status | Should the service be | (on|off) | -| | on or off (default: | | -| | off). | | -+----------+--------------------------+---------------------------------------+ -| target | Service command for | String | -| | restart, modified | | -| | targets require | | -| | mode="custom" | | -| | (default: restart) | | -+----------+--------------------------+---------------------------------------+ -| type | Driver to use on the | (chkconfig|deb|rc-update|smf|upstart) | -| | client to manage this | | -| | service. | | -+----------+--------------------------+---------------------------------------+ -| sequence | Order for service | integer | -| | startup (debian services | | -| | only) | | -+----------+--------------------------+---------------------------------------+ ++------------+--------------------------+---------------------------------------+ +| Name | Description | Values | ++============+==========================+=======================================+ +| mode | Per Service Mode (New in | (manual|default|supervised|custom) | +| | 1.0) | | ++------------+--------------------------+---------------------------------------+ +| name | Service Name | String | ++------------+--------------------------+---------------------------------------+ +| status | Should the service be | (on|off) | +| | on or off (default: | | +| | off). | | ++------------+--------------------------+---------------------------------------+ +| target | Service command for | String | +| | restart, modified | | +| | targets require | | +| | mode="custom" | | +| | (default: restart) | | ++------------+--------------------------+---------------------------------------+ +| type | Driver to use on the | (chkconfig|deb|rc-update|smf|upstart) | +| | client to manage this | | +| | service. | | ++------------+--------------------------+---------------------------------------+ +| sequence | Order for service | integer | +| | startup (debian services | | +| | only) | | ++------------+--------------------------+---------------------------------------+ +| parameters | Pass parameters to | String | +| | service (Upstart | | +| | services only) | | ++------------+--------------------------+---------------------------------------+ Service mode descriptions ^^^^^^^^^^^^^^^^^^^^^^^^^ -- cgit v1.2.3-1-g7c22 From 7e88c5454e7cce16874b69e402779af9412fd055 Mon Sep 17 00:00:00 2001 From: Joe Digilio Date: Sat, 22 Jan 2011 11:05:13 -0800 Subject: Support ability to pass parameters to Upstart services --- doc/appendix/guides/ubuntu.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc') diff --git a/doc/appendix/guides/ubuntu.txt b/doc/appendix/guides/ubuntu.txt index 54aa62cce..8ffda7166 100644 --- a/doc/appendix/guides/ubuntu.txt +++ b/doc/appendix/guides/ubuntu.txt @@ -477,3 +477,19 @@ Dynamic (web) reports ===================== See installation instructions at :ref:`server-reports-install` + +Upstart +======= + +Upstart services are defined like this: + +.. code-block:: xml + + + +Some Upstart services require additional parameters, like network-interface and bridge-network-interface: + +.. code-block:: xml + + + \ No newline at end of file -- cgit v1.2.3-1-g7c22