diff options
author | Gerrit Pape <pape@smarden.org> | 2004-07-28 15:58:22 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2004-07-28 15:58:22 +0000 |
commit | ab87c7b64a7ea6a72149832cd86a12c3319d88e3 (patch) | |
tree | 84bc1e8f1931f3a2c9cc4bc4b36ccaf5fc539b0e /doc/runlevels.html | |
parent | 1c01b38fb9032a8ce8be88785b7df1ccc0cd241b (diff) | |
download | runit-ab87c7b64a7ea6a72149832cd86a12c3319d88e3.tar.gz runit-ab87c7b64a7ea6a72149832cd86a12c3319d88e3.tar.xz runit-ab87c7b64a7ea6a72149832cd86a12c3319d88e3.zip |
* doc/runlevels.html, doc/upgrade.html, doc/useinit.html, man/runsvdir.8,
man/runsvchdir.8: minor changes in wording, notations.
Diffstat (limited to 'doc/runlevels.html')
-rw-r--r-- | doc/runlevels.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/runlevels.html b/doc/runlevels.html index 8416ff0..e3cf11d 100644 --- a/doc/runlevels.html +++ b/doc/runlevels.html @@ -26,16 +26,16 @@ Create the following directories and symbolic links: # ln -s default /etc/runit/runsvdir/current </pre> Copy the contents of <tt>/var/service/</tt> to -<tt>/etc/runit/runsvdir/current/</tt> and replace <tt>/var/service</tt> +<tt>/etc/runit/runsvdir/current/</tt> and replace <tt>/var/service/</tt> with a symbolic link: <pre> # cp -pR /var/service/* /etc/runit/runsvdir/current/ - # mv -f /var/service /service.old && \ + # mv -f /var/service /var/service.old && \ ln -s /etc/runit/runsvdir/current /var/service </pre> You have now created two runlevels: <tt>default</tt> and <tt>single</tt>. The <tt>current</tt> runlevel is <tt>default</tt>. -It is safe to remove <tt>/var/service.old</tt> if you don't need it anymore. +It is safe to remove <tt>/var/service.old/</tt> if you don't need it anymore. <p> Finally edit <tt>/etc/runit/2</tt> to set the <tt>default</tt> runlevel when stage 2 starts: |