summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-07-22 08:48:08 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-07-22 08:48:08 +0000
commit4ac15289be5686374bc2538be1693bcc16795dbe (patch)
treed7d118a328a2041a0549663e8c57f2fee4dcb02f
parentf4d189e325c01814692f1e0741dd6d85c495a162 (diff)
Drop quotes and mention that 3 and not 2 variables can be overridden.
ok robert@
-rw-r--r--share/man/man8/rc.d.810
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man8/rc.d.8 b/share/man/man8/rc.d.8
index 9aa06727467..82f1d1d8346 100644
--- a/share/man/man8/rc.d.8
+++ b/share/man/man8/rc.d.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rc.d.8,v 1.25 2014/07/09 14:19:22 ajacoutot Exp $
+.\" $OpenBSD: rc.d.8,v 1.26 2014/07/22 08:48:07 ajacoutot 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: July 9 2014 $
+.Dd $Mdocdate: July 22 2014 $
.Dt RC.D 8
.Os
.Sh NAME
@@ -96,7 +96,7 @@ Return 0 if the daemon is running or 1 if it is not.
Daemon control scripts use a fixed number of
.Xr sh 1
variables when starting a daemon.
-The following two can be overridden by site-specific values provided in
+The following three can be overridden by site-specific values provided in
.Xr rc.conf.local 8 :
.Bl -tag -width daemon_timeout -offset indent
.It Ar daemon Ns _flags
@@ -128,13 +128,13 @@ with the name of the script.
For example, postgres is managed through
.Pa /etc/rc.d/postgresql :
.Pp
-.Dl daemon_flags="-l /var/postgresql/logfile"
+.Dl daemon_flags=-l /var/postgresql/logfile
.Pp
To override this and increase the debug log level (keeping the existing
logfile path), define the following in
.Xr rc.conf.local 8 :
.Pp
-.Dl postgresql_flags="-l /var/postgresql/logfile -d 5"
+.Dl postgresql_flags=-l /var/postgresql/logfile -d 5
.Pp
Each script may define its own defaults, as explained in
.Xr rc.subr 8 .