summary refs log tree commit diff
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2009-10-07 02:33:50 +0000
committerGerrit Pape <pape@smarden.org>2009-10-07 02:33:50 +0000
commit0c9cdb07870b380648231255953c620c9c7dea0c (patch)
tree0aac9f1bb20d3c756bcf0d798fb33b09472f982e
parentf41c67ae19ad247affaefb884100436a842396e2 (diff)
downloadrunit-0c9cdb07870b380648231255953c620c9c7dea0c.tar.gz
runit-0c9cdb07870b380648231255953c620c9c7dea0c.tar.xz
runit-0c9cdb07870b380648231255953c620c9c7dea0c.zip
* doc/useinit.html: update description on how to use with upstart
    (thx Gabriel de Perthuis).
-rw-r--r--doc/useinit.html21
-rw-r--r--package/CHANGES2
2 files changed, 13 insertions, 10 deletions
diff --git a/doc/useinit.html b/doc/useinit.html
index 58adec2..a5c2853 100644
--- a/doc/useinit.html
+++ b/doc/useinit.html
@@ -48,21 +48,22 @@ and tell <i>init</i> to re-read its configuration, e.g.:
 <a name="upstart"><h2>Using with sysvinit and upstart</h2></a>
 If your system uses a sysvinit alike init scheme that utilizes upstart
 instead of inittab, and which has start and stop scripts located in
-<tt>/etc/event.d</tt>, do:
+<tt>/etc/init/</tt>, do:
 <pre>
- # cat >/etc/event.d/SV <<\EOT
- # for runit - manage /sbin/runsvdir-start
- start on runlevel-2
- start on runlevel-3
- start on runlevel-4
- start on runlevel-5
+ # cat >/etc/init/runsvdir.conf <<\EOT
+ # for runit - manage /usr/sbin/runsvdir-start
+ start on runlevel 2
+ start on runlevel 3
+ start on runlevel 4
+ start on runlevel 5
  stop on shutdown
- respawn /sbin/runsvdir-start
+ respawn
+ exec /usr/sbin/runsvdir-start
  EOT
 </pre>
-and tell init to re-read its configuration, e.g.:
+and tell init to start the new service, e.g.:
 <pre>
- # init q
+ # start runsvdir
 </pre>
 <hr>
 <a name="bsd"><h2>Using with *BSD init</h2></a>
diff --git a/package/CHANGES b/package/CHANGES
index cdd8a9c..7914366 100644
--- a/package/CHANGES
+++ b/package/CHANGES
@@ -2,6 +2,8 @@
 
   * doc/index.html: add deepOfix Mail Server to list of distributions
     that include runit (thx Debayan Banerjee).
+  * doc/useinit.html: update description on how to use with upstart
+    (thx Gabriel de Perthuis).
 
 2.1.1
 Sun, 04 Oct 2009 20:28:38 +0000