diff options
author | Gerrit Pape <pape@smarden.org> | 2006-03-04 14:14:47 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2006-03-04 14:14:47 +0000 |
commit | 5cdc37ab3be9ae7fabfa9077e46b36f3eb913c1c (patch) | |
tree | e7d456fc5f6bca85749141fd5553f57444be5afd /doc/runlevels.html | |
parent | a3f1d29c2db2393e2436f1bd928d353f587e2d2a (diff) | |
download | runit-5cdc37ab3be9ae7fabfa9077e46b36f3eb913c1c.tar.gz runit-5cdc37ab3be9ae7fabfa9077e46b36f3eb913c1c.tar.xz runit-5cdc37ab3be9ae7fabfa9077e46b36f3eb913c1c.zip |
* doc/faq.html: new.
* doc/benefits.html: use sv program instead of runsvstat, runsvctrl; minor. * doc/replaceinit.html, doc/runlevels.html: put getty service directory into /etc/sv/. * doc/runscripts.html: use sv program instead of svwaitup. * etc/*/3, etc/macosx/StartupItems/runit: use sv program instead of svwaitdown. * man/runsv.8: use sv program instead of runsvctrl. * man/sv.8: minor. * Makefile, package/commands: no longer build/install runsvctrl, runsvstat, svwaitdown, svwaitup. * man/runsvctrl.8, man/runsvstat.8, man/svwaitdown.8, man/svwaitup.8: remove; obsolete. * doc/index.html: add faq; remove runsvctrl, runsvstat, svwaitdown, svwaitup. * sv.c: fix usage output.
Diffstat (limited to 'doc/runlevels.html')
-rw-r--r-- | doc/runlevels.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/runlevels.html b/doc/runlevels.html index e3cf11d..eb68113 100644 --- a/doc/runlevels.html +++ b/doc/runlevels.html @@ -22,7 +22,7 @@ Create the following directories and symbolic links: <pre> # mkdir -p /etc/runit/runsvdir/default # mkdir -p /etc/runit/runsvdir/single - # ln -s /etc/runit/getty-5 /etc/runit/runsvdir/single/getty-5 + # ln -s /etc/sv/getty-5 /etc/runit/runsvdir/single/ # ln -s default /etc/runit/runsvdir/current </pre> Copy the contents of <tt>/var/service/</tt> to @@ -72,7 +72,7 @@ You can check the status of the <tt>previous</tt> runlevel through <hr> <a name="create"><h3>Creating new runlevels</h3></a> To create a new runlevel, simply create a new directory in -<tt>/etc/runit/runsvdir</tt>. +<tt>/etc/runit/runsvdir/</tt>. The name of the directory is the name of the new runlevel. The name must not start with a dot and must not be <tt>current</tt>, <tt>current.new</tt>, or <tt>previous</tt>, e.g.: @@ -82,9 +82,9 @@ The name must not start with a dot and must not be <tt>current</tt>, Add the services you want to run in the runlevel <tt>maintenance</tt> to the newly created directory, e.g.: <pre> - # ln -s /etc/runit/getty-5 /etc/runit/runsvdir/maintenance/ - # ln -s /etc/runit/runsv/ssh /etc/runit/runsvdir/maintenance/ - # ln -s /etc/runit/runsv/dnscache /etc/runit/runsvdir/maintenance/ + # ln -s /etc/sv/getty-5 /etc/runit/runsvdir/maintenance/ + # ln -s /etc/sv/ssh /etc/runit/runsvdir/maintenance/ + # ln -s /etc/sv/dnscache /etc/runit/runsvdir/maintenance/ </pre> If you want to switch to the runlevel <tt>maintenance</tt>, do: <pre> |