summary refs log tree commit diff
path: root/doc/useinit.html
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2003-10-29 11:19:03 +0000
committerGerrit Pape <pape@smarden.org>2003-10-29 11:19:03 +0000
commit2762f72fe4238827235a2e1249955aeff030a7fb (patch)
tree0aca719ef8e83c2b13179745121d210ec76e28a5 /doc/useinit.html
parent72dfd7484b220331a212f19699db782a45bbae85 (diff)
downloadrunit-2762f72fe4238827235a2e1249955aeff030a7fb.tar.gz
runit-2762f72fe4238827235a2e1249955aeff030a7fb.tar.xz
runit-2762f72fe4238827235a2e1249955aeff030a7fb.zip
* doc/benefits.html, doc/index.html, doc/replaceinit.html,
    doc/runlevels.html, doc/useinit.html: default service directory is
    /var/service; minor.
  * etc/2, etc/debian/3, etc/freebsd/3, etc/macosx/StartupItems/runit,
    etc/openbsd/3, man/runsv.8, man/runsvchdir.8, man/runsvdir.8: default
    service directory is /var/service.
Diffstat (limited to 'doc/useinit.html')
-rw-r--r--doc/useinit.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/useinit.html b/doc/useinit.html
index 0cc50ec..7d28cfd 100644
--- a/doc/useinit.html
+++ b/doc/useinit.html
@@ -20,9 +20,11 @@ Normally this is done by either adding an entry for
 adding <tt>/sbin/runsvdir-start</tt> to the system's <tt>StartupItems</tt>.
 <p>
 In any case, you first need to copy the <i>stage 2</i> script to
-<tt>/sbin/runsvdir-start</tt>:
+<tt>/sbin/runsvdir-start</tt>, and create the service directory
+<tt>/var/service</tt>:
 <pre>
   # install -m0750 /package/admin/runit/etc/2 /sbin/runsvdir-start
+  # mkdir -p /var/service
 </pre>
 <hr>
 <a href="#sysv">How to use with sysvinit</a><br>
@@ -37,7 +39,7 @@ file, do:
   SV:123456:respawn:/sbin/runsvdir-start
   EOT
 </pre>
-and tell <i>init</i> to reread its configuration, e.g.:
+and tell <i>init</i> to re-read its configuration, e.g.:
 <pre>
   # init q
 </pre>