From 5a3c72ce8f326fe365bbfe8577210e2b8eabc1df Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Wed, 26 Oct 2005 04:12:34 +0000 Subject: [PATCH] Document that `reload' is not provided by default yet it can be enabled when applicable. --- etc/rc.subr | 2 ++ share/man/man8/rc.subr.8 | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/etc/rc.subr b/etc/rc.subr index 46e1dd38c8b8..bff3620a522c 100644 --- a/etc/rc.subr +++ b/etc/rc.subr @@ -426,6 +426,8 @@ wait_for_pids() # reload Similar to stop, except use $sig_reload instead, # and doesn't wait_for_pids. # $sig_reload defaults to HUP. +# Note that `reload' isn't provided by default, +# it should be enabled via $extra_commands. # # restart Run `stop' then `start'. # diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index fa177319f160..00c8f677a0df 100644 --- a/share/man/man8/rc.subr.8 +++ b/share/man/man8/rc.subr.8 @@ -36,7 +36,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 6, 2004 +.Dd October 26, 2005 .Dt RC.SUBR 8 .Os .Sh NAME @@ -625,6 +625,16 @@ except that it uses .Va sig_reload instead, and does not run .Ic wait_for_pids . +Another difference from +.Cm stop +is that +.Cm reload +is not provided by default. +It can be enabled via +.Va extra_commands +if appropriate: +.Pp +.Dl "extra_commands=reload" .It Cm restart Runs the .Cm stop