summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Strauss <Markus@ITstrauss.eu>2011-11-01 11:37:35 -0400
committerMarkus Strauss <Markus@ITstrauss.eu>2011-11-01 11:37:35 -0400
commite4e4a1840b1c26604e1517f06024123a0446338f (patch)
tree326657c239f7345a1cf072fe650d6d05203373c7
parentc848cb5fad688dafc1af3e2fdfee77ea1d380f3c (diff)
downloadpuppet-runit-e4e4a1840b1c26604e1517f06024123a0446338f.tar.gz
puppet-runit-e4e4a1840b1c26604e1517f06024123a0446338f.tar.bz2
asciidoc is not well supported on GitHub, moved to rdoc
-rw-r--r--README.asciidoc27
-rw-r--r--README.rdoc22
2 files changed, 22 insertions, 27 deletions
diff --git a/README.asciidoc b/README.asciidoc
deleted file mode 100644
index 3dd0418..0000000
--- a/README.asciidoc
+++ /dev/null
@@ -1,27 +0,0 @@
-README
-======
-Markus Strauss <markus@itstrauss.eu>
-v0.1, 2011-10-27
-
-This is a very basic module to manage the http://smarden.org/runit/[runit] service supervisor.
-
-Example Usage
-^^^^^^^^^^^^^
-
-[source,txt]
----------------------------------------------------------------------
-class { 'runit': }
-
-# define a environment variable, placed under /etc/sv/diaspora_worker/env/QUEUE
-runit::env { 'QUEUE': service => 'diaspora_worker' }
-
-# define a service unter /etc/sv/diaspora_worker
-runit::service { "diaspora_worker":
- user => diaspora, # service user and group
- group => diaspora,
- rundir => '/var/rails/diaspora', # service run directory
- command => 'bundle exec rake resque:work', # command to start the service
- enable => true, # enabling the service by
- # linking it to /etc/services/
-}
----------------------------------------------------------------------
diff --git a/README.rdoc b/README.rdoc
new file mode 100644
index 0000000..559c3d2
--- /dev/null
+++ b/README.rdoc
@@ -0,0 +1,22 @@
+= README
+Author:: Markus Strauss (mailto:markus@itstrauss.eu)
+Version:: 0.1, 2011-10-27
+
+This is a very basic module to manage the runit[http://smarden.org/runit/] service supervisor.
+
+== Example Usage
+
+ class { 'runit': }
+
+ # define a environment variable, placed under /etc/sv/diaspora_worker/env/QUEUE
+ runit::env { 'QUEUE': service => 'diaspora_worker' }
+
+ # define a service unter /etc/sv/diaspora_worker
+ runit::service { "diaspora_worker":
+ user => diaspora, # service user and group
+ group => diaspora,
+ rundir => '/var/rails/diaspora', # service run directory
+ command => 'bundle exec rake resque:work', # command to start the service
+ enable => true, # enabling the service by
+ # linking it to /etc/services/
+ }