From: ajacoutot Date: Thu, 11 Nov 2021 12:23:15 +0000 (+0000) Subject: Tweak rc_stop and rc_reload description by mentioning their corresponding X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=564f10c3f9a892f3d7e8dc231d59879fdaf12252;p=openbsd Tweak rc_stop and rc_reload description by mentioning their corresponding _signal variable. Fix a warning from 'mandoc -T lint' while here. --- diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index d154f7f2d07..7eda03e6caa 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.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 @@ -25,7 +25,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: November 6 2021 $ +.Dd $Mdocdate: November 11 2021 $ .Dt RC.SUBR 8 .Os .Sh NAME @@ -196,17 +196,17 @@ ${rcexec} "${daemon} ${daemon_flags}" .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 @@ -304,11 +304,19 @@ script to disable the reload action if the respective daemon 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