diff options
author | Gerrit Pape <pape@smarden.org> | 2004-01-30 19:12:57 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2004-01-30 19:12:57 +0000 |
commit | 67e660f2f92866a6f677976d6f0c6656d5e8c4d0 (patch) | |
tree | d0b62bdb9b2caa9cda94b1a7293ca31d3d82fb46 /doc/useinit.html | |
parent | c2c1f5633f2897d6125c5a8d90dcc09d568035b5 (diff) | |
download | runit-67e660f2f92866a6f677976d6f0c6656d5e8c4d0.tar.gz runit-67e660f2f92866a6f677976d6f0c6656d5e8c4d0.tar.xz runit-67e660f2f92866a6f677976d6f0c6656d5e8c4d0.zip |
some doc cleanup.
Diffstat (limited to 'doc/useinit.html')
-rw-r--r-- | doc/useinit.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/useinit.html b/doc/useinit.html index 7d28cfd..5dce37e 100644 --- a/doc/useinit.html +++ b/doc/useinit.html @@ -23,8 +23,8 @@ In any case, you first need to copy the <i>stage 2</i> script to <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 + # 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> @@ -35,22 +35,22 @@ In any case, you first need to copy the <i>stage 2</i> script to If your system uses a sysvinit alike init scheme with a <tt>/etc/inittab</tt> file, do: <pre> - # cat >>/etc/inittab <<EOT - SV:123456:respawn:/sbin/runsvdir-start - EOT + # cat >>/etc/inittab <<EOT + SV:123456:respawn:/sbin/runsvdir-start + EOT </pre> and tell <i>init</i> to re-read its configuration, e.g.: <pre> - # init q + # init q </pre> <hr> <a name="bsd"><h2>Using with *BSD init</h2></a> If your system uses a BSD alike init scheme with a <tt>/etc/rc.local</tt> script, do: <pre> - # cat >>/etc/rc.local <<EOT - csh -cf '/sbin/runsvdir-start &' - EOT + # cat >>/etc/rc.local <<EOT + csh -cf '/sbin/runsvdir-start &' + EOT </pre> and reboot your system. <hr> |