freebsd-src/share/man
Franco Fichtner 11333dd580 rc: improve NAME_setup handling
Reload is used for service reconfiguration as well
and lacks a NAME_prepend-like mechanism so it makes
sense to extend the NAME_reload hook into this
action.

precmd may use configuration checks and blocks setup
from doing its designated work (e.g. nginx).  In moving
the invoke of the setup script in front allows us to
provide custom scripts for config file generation and
fixing prior to precmd checking configuration integrity.

Also introduce _run_rc_setup to separate the launcher
from the main one.  Let it run correctly in the case
of restart_precmd and block further execution as
would be the case in start due to the internal plumbing
of restart being split into calling stop and start
afterwards.

Differential-Revsiion: https://reviews.freebsd.org/D36259
Signed-off-by: Franco Fichtner <franco@opnsense.org>
Reviewed by: imp, oshogbo
Pull Request: https://github.com/freebsd/freebsd-src/pull/1258
2024-05-29 11:23:46 -06:00
..
man1 intro.1: 2024 edition 2024-04-12 10:58:36 -06:00
man3 man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
man3lua Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
man4 vt(4): add note about sc/UEFI incompatibility 2024-05-24 19:55:10 -04:00
man5 src.conf.5: Regen 2024-05-22 17:02:26 +00:00
man6 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
man7 man filesystems: fix xrefs after move to section 4 2024-05-16 10:25:29 -06:00
man8 rc: improve NAME_setup handling 2024-05-29 11:23:46 -06:00
man9 kern/rman: remove rman_reserve_resource_bound(), partially revert 13fb665772 2024-05-21 17:52:24 -06:00
Makefile share/man: Add mandoc.db files to METALOG 2024-01-30 22:17:34 +00:00