git: 7342a436750b - stable/14 - rc.conf.5: Document <name>_setup

From: Mateusz Piotrowski <>
Date: Fri, 22 Sep 2023 12:44:11 UTC
The branch stable/14 has been updated by 0mp:


commit 7342a436750b6de8621ed51a4069509e16c461f8
Author:     Mateusz Piotrowski <>
AuthorDate: 2023-09-18 18:53:45 +0000
Commit:     Mateusz Piotrowski <>
CommitDate: 2023-09-22 12:41:28 +0000

    rc.conf.5: Document <name>_setup
    Fixes:  c9be47b34dd8 rc: add ${name}_setup script support
    MFC after:      3 days
    (cherry picked from commit 5e3a8a4a035e6ff779cf54217870a259eb593d97)
 share/man/man5/rc.conf.5 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 17c92ee663f7..a76cb1a04e0a 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -250,6 +250,11 @@ such as PostgreSQL will not inherit the OOM killer protection.
 This variable has no effect on services running within a
 .Xr jail 8 .
+.It Ao Ar name Ac Ns Va _setup
+.Pq Vt str
+Run the specified setup script right before starting the actual service
+Useful for automatic configuration file generation.
 .It Ao Ar name Ac Ns Va _umask
 .Pq Vt int
 Run the service using this