summaryrefslogtreecommitdiff
path: root/share/man/man8
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-03-23 20:43:44 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-03-23 20:43:44 +0000
commit75964e51d2b44c66750efd15d30d465256d5f998 (patch)
treee56071d7a5734ecaefe92535753743c98296872e /share/man/man8
parentb47e1d8a7d3952a94f686af0cb82fd6459a1785f (diff)
Cleanup .Va macros, triggered by a smaller diff from ajacoutot@.
* Do not use .Va for mere emphasis, it's for variable names. * Use .Dl to display complete single command lines. * And .Bd -literal is nicer when they contain double quotes. ok ajacoutot@
Diffstat (limited to 'share/man/man8')
-rw-r--r--share/man/man8/rc.subr.821
1 files changed, 13 insertions, 8 deletions
diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8
index 1bb45bcbbd0..1a9e9891627 100644
--- a/share/man/man8/rc.subr.8
+++ b/share/man/man8/rc.subr.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rc.subr.8,v 1.15 2011/03/15 12:58:31 ajacoutot Exp $
+.\" $OpenBSD: rc.subr.8,v 1.16 2011/03/23 20:43:43 schwarze Exp $
.\"
.\" Copyright (c) 2011 Robert Nagy, Antoine Jacoutot, Ingo Schwarze
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" (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 $Mdocdate: March 15 2011 $
+.Dd $Mdocdate: March 23 2011 $
.Dt RC.SUBR 8
.Os
.Sh NAME
@@ -46,9 +46,11 @@ Use the same name as the
.Nm daemon
it is referring to.
.It
-.Va dashes
+Dashes
+.Pq Sq -
have to be converted to
-.Va underscores .
+underscores
+.Pq Sq _ .
.El
.Pp
Every script under
@@ -175,8 +177,10 @@ on the regular expression given in the
variable.
.It Ic rc_start
Start the daemon.
-Defaults to
-.Va ${rcexec} "${daemon} ${daemon_flags} ${_bg}" .
+Defaults to:
+.Bd -literal -offset indent
+${rcexec} "${daemon} ${daemon_flags} ${_bg}"
+.Ed
.It Ic rc_stop
Stop the daemon.
Send a
@@ -263,9 +267,10 @@ The same is possible, but almost never useful, for other actions.
.It Va rcexec
Holds the full
.Xr su 1
-arguments used to run the daemon.
+command used to run the daemon.
Defaults to:
-.Va su -l -c ${daemon_class} -s /bin/sh ${daemon_user} -c .
+.Pp
+.Dl "su -l -c ${daemon_class} -s /bin/sh ${daemon_user} -c"
.El
.Pp
All