ispfw.4: Remove extra .Pp
[dragonfly.git] / sbin / rcrun / rcrun.8
blob4bd9d58b05a4721ccc14c0e2972975d1b3f216c9
1 .\"
2 .\" Copyright (c) 2007 The DragonFly Project.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\"
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in
12 .\"    the documentation and/or other materials provided with the
13 .\"    distribution.
14 .\" 3. Neither the name of The DragonFly Project nor the names of its
15 .\"    contributors may be used to endorse or promote products derived
16 .\"    from this software without specific, prior written permission.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21 .\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
22 .\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23 .\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
24 .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
26 .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
28 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 .\" SUCH DAMAGE.
30 .\"
31 .Dd November 17, 2014
32 .Dt RCRUN 8
33 .Os
34 .Sh NAME
35 .Nm rcrun ,
36 .Nm rcstart ,
37 .Nm rcforce ,
38 .Nm rcfast ,
39 .Nm rcone ,
40 .Nm rcstop ,
41 .Nm rcrestart ,
42 .Nm rcreload ,
43 .Nm rcstatus ,
44 .Nm rcvar ,
45 .Nm rcdisable ,
46 .Nm rcenable ,
47 .Nm rclist
48 .Nd rc script control utility
49 .Sh SYNOPSIS
50 .Nm rcrun
51 .Cm command Ar script ...
52 .Nm rcstart
53 .Ar script ...
54 .Nm rcforce
55 .Ar script ...
56 .Nm rcfast
57 .Ar script ...
58 .Nm rcone
59 .Ar script ...
60 .Nm rcstop
61 .Ar script ...
62 .Nm rcrestart
63 .Ar script ...
64 .Nm rcreload
65 .Ar script ...
66 .Nm rcstatus
67 .Ar script ...
68 .Nm rcvar
69 .Ar script ...
70 .Nm rcdisable
71 .Ar script ...
72 .Nm rcenable
73 .Ar script ...
74 .Nm rclist
75 .Op Ar script ...
76 .Sh DESCRIPTION
77 The
78 .Nm
79 utility provides a number of commands for controlling
80 .Xr rc 8
81 scripts.
82 .Pp
83 The
84 .Cm start ,
85 .Cm forcestart ,
86 .Cm faststart ,
87 .Cm onestart ,
88 .Cm stop ,
89 .Cm restart ,
90 .Cm reload ,
91 .Cm status ,
92 and
93 .Cm rcvar
94 commands are just passed to the scripts.
95 See
96 .Xr rc 8
97 for more information on these commands.
98 .Pp
99 The remaining commands are:
100 .Bl -tag -width ".Cm disable"
101 .It Cm disable
102 Sets the corresponding
103 .Va _enable
104 variable in
105 .Xr rc.conf 5
107 .Dq Li NO
108 and runs the
109 .Cm stop
110 command.
111 .It Cm enable
112 Sets the corresponding
113 .Va _enable
114 variable in
115 .Xr rc.conf 5
117 .Dq Li YES
118 and runs the
119 .Cm start
120 command.
121 .It Cm list
122 Shows the status of the specified scripts.
123 If no argument is specified, the status of all scripts is shown.
126 .Nm Rcstart ,
127 .Nm rcforce ,
128 .Nm rcfast ,
129 .Nm rcone ,
130 .Nm rcstop ,
131 .Nm rcrestart ,
132 .Nm rcreload ,
133 .Nm rcstatus ,
134 .Nm rcvar ,
135 .Nm rcdisable ,
136 .Nm rcenable
138 .Nm rclist
139 are shortcuts for
140 .Nm Ap s
141 commands.
142 .Sh SEE ALSO
143 .Xr rc.conf 5 ,
144 .Xr rc 8 ,
145 .Xr rc.subr 8
146 .Sh HISTORY
149 script first appeared in
150 .Dx 1.0 .
151 .Sh AUTHORS
152 .An Matt Dillon