Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2023 12:44:11 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 7342a436750b - stable/14 - rc.conf.5: Document <name>_setup
Message-ID:  <202309221244.38MCiB5D030851@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=7342a436750b6de8621ed51a4069509e16c461f8

commit 7342a436750b6de8621ed51a4069509e16c461f8
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2023-09-18 18:53:45 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
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.
 .Pp
 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
+command.
+Useful for automatic configuration file generation.
 .It Ao Ar name Ac Ns Va _umask
 .Pq Vt int
 Run the service using this



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309221244.38MCiB5D030851>