Arguably these options are fairly obvious but I was prompted by the fact
that "check" is not mentioned in the man page and this differs from the
nomenclature of "status" often used in other systems.

This is the first time I've sent a diff so I've gone for minimal change
only mentioning these in the synopsis and have not expanded up these in
the description. This is akin to the FreeBSD man page for service(8).
Arguably the fact "reload" sends SIGHUP could be worth mentioning but as
a sysadmin it's the behavior I'd be expecting anyway.

diff --git usr.sbin/rcctl/rcctl.8 usr.sbin/rcctl/rcctl.8
index cbce9623720..4188fd26f2c 100644
--- usr.sbin/rcctl/rcctl.8
+++ usr.sbin/rcctl/rcctl.8
@@ -22,6 +22,9 @@
 .Nd configure and control daemons and services
 .Sh SYNOPSIS
 .Nm rcctl
+.Cm start Ns | Ns Cm stop Ns | Ns Cm restart Ns | Ns Cm reload Ns | Ns Cm check
+.Op Ar daemon ...
+.Nm rcctl
 .Cm get Ns | Ns Cm getdef Ns | Ns Cm set
 .Ar service | daemon Op Ar variable Op Ar arguments
 .Nm rcctl

Reply via email to