Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2023 21:59:47 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5e3a8a4a035e - main - rc.conf.5: Document <name>_setup
Message-ID:  <202309182159.38ILxlaQ045448@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=5e3a8a4a035e6ff779cf54217870a259eb593d97

commit 5e3a8a4a035e6ff779cf54217870a259eb593d97
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2023-09-18 18:53:45 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2023-09-18 21:59:10 +0000

    rc.conf.5: Document <name>_setup
    
    Fixes:  c9be47b34dd8 rc: add ${name}_setup script support
    MFC after:      3 days
---
 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?202309182159.38ILxlaQ045448>