-.\" $OpenBSD: rc.subr.8,v 1.40 2021/11/06 10:38:04 ajacoutot Exp $
+.\" $OpenBSD: rc.subr.8,v 1.41 2021/11/11 12:23:15 ajacoutot Exp $
.\"
.\" Copyright (c) 2021 Antoine Jacoutot
.\" Copyright (c) 2011 Robert Nagy, Antoine Jacoutot, Ingo Schwarze
.\" (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: November 6 2021 $
+.Dd $Mdocdate: November 11 2021 $
.Dt RC.SUBR 8
.Os
.Sh NAME
.Ed
.It Ic rc_stop
Stop the daemon.
-Send a
-.Dv SIGTERM
-signal using
+Send the
+.Va rc_stop_signal
+using
.Xr pkill 1
on the regular expression given in the
.Va pexp
variable.
.It Ic rc_reload
-Send a
-.Dv SIGHUP
-signal using
+Send the
+.Va rc_reload_signal
+using
.Xr pkill 1
on the regular expression given in the
.Va pexp
does not support reloading its configuration.
.Em The same is possible, but almost never useful, for other actions.
.It Va rc_reload_signal
-Signal sent to the daemon process by the default rc_reload() function.
+Signal sent to the daemon process
+.Pq Va pexp
+by the default
+.Fn rc_reload
+function.
Default to
.Em HUP .
.It Va rc_stop_signal
-Signal sent to the daemon process by the default rc_stop() function.
+Signal sent to the daemon process
+.Pq Va pexp
+by the default
+.Fn rc_stop
+function.
Default to
.Em TERM .
.It Va rc_usercheck