diff options
author | Roy Marples <roy@marples.name> | 2008-03-19 17:11:50 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-19 17:11:50 +0000 |
commit | d9ec62b22a8ccfebda4af34d8319b33a8a5e3bbb (patch) | |
tree | 1ee06a122011bd5347ed1dac292e1408178cceb0 /man | |
parent | 089caec283e1e1b39767abf9cb355f47ee6daca6 (diff) |
Add rc-service and update all softlevel refs to runlevel.
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile | 3 | ||||
-rw-r--r-- | man/rc-service.8 | 42 | ||||
-rw-r--r-- | man/runscript.8 | 4 |
3 files changed, 46 insertions, 3 deletions
diff --git a/man/Makefile b/man/Makefile index 0357d27a..b8f0e42e 100644 --- a/man/Makefile +++ b/man/Makefile @@ -1,7 +1,8 @@ MAN3= einfo.3 \ rc_config.3 rc_deptree.3 rc_find_pids.3 rc_plugin_hook.3 \ rc_runlevel.3 rc_service.3 rc_stringlist.3 -MAN8= rc-status.8 rc-update.8 rc.8 runscript.8 start-stop-daemon.8 +MAN8= rc-service.8 rc-status.8 rc-update.8 rc.8 runscript.8 \ + start-stop-daemon.8 # Handy macro to create symlinks # This does rely on correctly formatting our manpages! diff --git a/man/rc-service.8 b/man/rc-service.8 new file mode 100644 index 00000000..840f22b8 --- /dev/null +++ b/man/rc-service.8 @@ -0,0 +1,42 @@ +.\" Copyright 2008 Roy Marples +.\" All rights reserved +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.Dd Mar 19, 2008 +.Dt RC-SERVICE 8 SMM +.Os OpenRC +.Sh NAME +.Nm rc-service +.Nd locate and run an OpenRC service with the given arguments +.Sh SYNOPSIS +.Nm +.Ar service cmd +.Op Ar ... +.Sh DESCRIPTION +Service scripts could be in different places on different systems. +.Nm +locates the specified service and runs it with the given arguments. +.Sh SEE ALSO +.Xr rc 8 , +.Sh AUTHORS +.An "Roy Marples" Aq roy@marples.name diff --git a/man/runscript.8 b/man/runscript.8 index cd457b5a..7aaf9646 100644 --- a/man/runscript.8 +++ b/man/runscript.8 @@ -278,7 +278,7 @@ sets the following environment variables for use in the service scripts: .Bl -tag -width "RC_DEFAULTLEVEL" .It Va SVCNAME Name of the service. -.It Va RC_SOFTLEVEL +.It Va RC_RUNLEVEL Current runlevel that rc is in. .It Va RC_BOOTLEVEL Boot runlevel chosen. Default is boot. @@ -293,7 +293,7 @@ The result of `uname -s`. .Sh FILES .Pp Configuration files, relative to the location of the service. -If a file ending with .${RC_SOFTLEVEL} exists then we use that instead. +If a file ending with .${RC_RUNLEVEL} exists then we use that instead. .Bl -ohang .It Pa ../conf.d/${SVCNAME%%.*} mulitplexed configuration file. |