summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-11-28 08:58:34 +1100
committerJames Turnbull <james@lovedthanlost.net>2008-11-28 08:58:34 +1100
commit1f52795c43e085e73290fbfccffafcc8cca1bc70 (patch)
tree17e07ea3773cbd3503b16b0449189db7a5834b14
parent81a91a7321f1a0c664e04cc2b7045819a970c18f (diff)
downloadpuppet-1f52795c43e085e73290fbfccffafcc8cca1bc70.tar.gz
puppet-1f52795c43e085e73290fbfccffafcc8cca1bc70.tar.xz
puppet-1f52795c43e085e73290fbfccffafcc8cca1bc70.zip
Documentation fix for runit provider
-rw-r--r--lib/puppet/provider/service/runit.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/puppet/provider/service/runit.rb b/lib/puppet/provider/service/runit.rb
index 5c2b9c733..e8a0da18f 100644
--- a/lib/puppet/provider/service/runit.rb
+++ b/lib/puppet/provider/service/runit.rb
@@ -5,14 +5,14 @@ Puppet::Type.type(:service).provide :runit, :parent => :daemontools do
desc """
Runit service management.
This provider manages daemons running supervised by Runit.
-It tries to detect the service directory, with by order of preference:
+It tries to detect the service directory, with by order of preference::
* /service
* /var/service
* /etc/service
The daemon directory should be placed in a directory that can be
-by default in:
+by default in::
* /etc/sv
@@ -23,12 +23,14 @@ or this can be overriden in the service resource parameters::
provider => \"runit\", path => \"/path/to/daemons\";
}
-This provider supports out of the box:
+This provider supports out of the box::
* start/stop
* enable/disable
* restart
* status
+
+
"""
commands :sv => "/usr/bin/sv"