summaryrefslogtreecommitdiff
path: root/usr.sbin/rcctl
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rcctl')
-rw-r--r--usr.sbin/rcctl/rcctl.815
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.sbin/rcctl/rcctl.8 b/usr.sbin/rcctl/rcctl.8
index f06c2b77489..683b8301e1c 100644
--- a/usr.sbin/rcctl/rcctl.8
+++ b/usr.sbin/rcctl/rcctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcctl.8,v 1.28 2016/01/29 23:53:08 jmc Exp $
+.\" $OpenBSD: rcctl.8,v 1.29 2016/01/30 12:14:08 schwarze Exp $
.\"
.\" Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 29 2016 $
+.Dd $Mdocdate: January 30 2016 $
.Dt RCCTL 8
.Os
.Sh NAME
@@ -194,6 +194,17 @@ apmd_user=root
# echo $?
0
.Ed
+.Pp
+The recommended way to run a second copy of a given daemon for a
+different purpose is to create a symbolic link to its
+.Xr rc.d 8
+control script:
+.Bd -literal -offset indent
+# ln -s /etc/rc.d/snmpd /etc/rc.d/snmpd6
+# rcctl set snmpd6 flags -D addr=2001:db8::1234
+# rcctl set snmpd6 status on
+# rcctl start snmpd6
+.Ed
.Sh SEE ALSO
.Xr rc.conf.local 8 ,
.Xr rc.d 8