Include the documentation for the daemons running function

This commit is contained in:
Pedro Algarvio 2014-02-01 09:04:28 +00:00
parent 08b17a4860
commit 9e40c9f2ab
2 changed files with 21 additions and 0 deletions

View file

@ -268,6 +268,19 @@ In order to install salt for a distribution you need to define:
they're not running.
7. Optionally, define a daemons running function, one of:
.. code:: bash
daemons_running_<distro>_<major_version>_<install_type>
daemons_running_<distro>_<major_version>_<minor_version>_<install_type>
daemons_running_<distro>_<major_version>
daemons_running_<distro>_<major_version>_<minor_version>
daemons_running_<distro>_<install_type>
daemons_running_<distro>
daemons_running [THIS ONE IS ALREADY DEFINED AS THE DEFAULT]
----
Below is an example for Ubuntu Oneiric(the example may not be up to date with the script):

View file

@ -1311,6 +1311,14 @@ movefile() {
# NOTE: The start daemons function should be able to restart any daemons
# which are running, or start if they're not running.
#
# Optionally, define a daemons running function, one of:
# 1. daemons_running_<distro>_<major_version>_<install_type>
# 2. daemons_running_<distro>_<major_version>_<minor_version>_<install_type>
# 3. daemons_running_<distro>_<major_version>
# 4 daemons_running_<distro>_<major_version>_<minor_version>
# 5. daemons_running_<distro>_<install_type>
# 6. daemons_running_<distro>
# 7. daemons_running [THIS ONE IS ALREADY DEFINED AS THE DEFAULT]
##############################################################################