summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-04-28 12:51:12 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-04-28 12:51:12 -0500
commit10a4385e409b48d9aa60590c140d4ca6485a7a72 (patch)
treedc52fb42c93f37fad1eeba1eb65441c090e59705 /man
parent10eabd4d921cea895b8f9bde47f29d107f39fa0b (diff)
downloadopenrc-10a4385e409b48d9aa60590c140d4ca6485a7a72.tar.gz
openrc-10a4385e409b48d9aa60590c140d4ca6485a7a72.tar.bz2
openrc-10a4385e409b48d9aa60590c140d4ca6485a7a72.tar.xz
rc: allow switching runlevels without stopping services
OpenRC, by default, stops all services that are not listed in a runlevel when rc is used to switch runlevels. This adds a -n/--no-stop command line option to rc which tells it to skip stopping the services which are not in the runlevel. Reported-by: gentoo@thoth.purplefrog.com X-Gentoo-Bug: 372585 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=372585
Diffstat (limited to 'man')
-rw-r--r--man/rc.89
1 files changed, 5 insertions, 4 deletions
diff --git a/man/rc.8 b/man/rc.8
index 0d645bf..dd45788 100644
--- a/man/rc.8
+++ b/man/rc.8
@@ -29,16 +29,17 @@
.Nd stops and starts services for the specified runlevel
.Sh SYNOPSIS
.Nm
+.Op Fl n , -no-stop
.Op Fl o , -override
.Op Ar runlevel
.Sh DESCRIPTION
.Nm
-first stops any services that are not for the runlevel and then starts any
-services in the runlevel and from stacked runlevels added by
+first stops any services that are not in the specified runlevel unless
+--no-stop is specified, then starts any services in the runlevel and
+stacked runlevels added by
.Nm rc-update
that are not currently started.
-If no runlevel is specified then we use the current runlevel the system
-is currently in.
+If no runlevel is specified, we use the current runlevel.
.Pp
There are some special runlevels that you should be aware of:
.Bl -tag -width "shutdown"