diff options
author | Gerrit Pape <pape@smarden.org> | 2002-10-06 09:53:55 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2002-10-06 09:53:55 +0000 |
commit | 452c4c7e5c7ecd1b5444ef19904d91a3b554bb50 (patch) | |
tree | 59bfff5bf4420bfc8001f510ea071624a3af21c1 /doc/runlevels.html | |
parent | b2d56ebfb515c5b8a0a2a5481a2e8d8fd294505b (diff) | |
download | runit-452c4c7e5c7ecd1b5444ef19904d91a3b554bb50.tar.gz runit-452c4c7e5c7ecd1b5444ef19904d91a3b554bb50.tar.xz runit-452c4c7e5c7ecd1b5444ef19904d91a3b554bb50.zip |
0.6.4.
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 85272dd..f4019c3 100644 --- a/doc/runlevels.html +++ b/doc/runlevels.html @@ -54,10 +54,10 @@ services a SIGTERM and wait for them to terminate. You can check the status of the <tt>previous</tt> runlevel in <tt>/etc/runit/runsvdir/previous/</tt>. <hr> <a name="create"><h3>Creating new runlevels</h3></a> -To create a new runlevel, simply create a new service directory in -<tt>/etc/runit/runsvdir</tt>. The name of the runlevel must not start with -a dot and must not be <tt>current</tt>, <tt>current.new</tt> or -<tt>previous</tt>. E.g.: +To create a new runlevel, simply create a new directory in +<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.: <pre> # mkdir /etc/runit/runsvdir/maintenance </pre> @@ -68,7 +68,7 @@ newly created directory, e.g.: # ln -s /etc/runit/runsv/ssh /etc/runit/runsvdir/maintenance/ # ln -s /etc/runit/runsv/dnscache /etc/runit/runsvdir/maintenance/ </pre> -If you want to switch to the runlevel <tt>mainenance</tt>, do: +If you want to switch to the runlevel <tt>maintenance</tt>, do: <pre> # runsvchdir maintenance </pre> |