From nobody Mon Sep 18 21:59:47 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RqJcM6Gwtz4tpJP; Mon, 18 Sep 2023 21:59:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RqJcM4TGFz4d6L; Mon, 18 Sep 2023 21:59:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695074387; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vH4WhZw99K8G+RSNDbi4uoPmnv5pziqLvQJsSpIeanM=; b=KTph7QKr0Il313EUVhnH5CCg11nnQhOt/TNxwXs5iDpSurWAsK37cJGCuztD7GWktTJqOu 7Y8dSIcc6Frcm42cRuDcc4C4u26yttNlvyHF+he3y+/BkvF5Ys+loY1hHX3AgqGrMwBja5 1vG6JdmR8Ieyw9f7r+a0v4haQfq03zOXGUWg+VGFVOW8hXQgxNrdIsCnAktFLIVUR8X1Tf SxUkkEl3g25b+/pPinQicJGTLJjXx7zdDhABtO92zeePmwYiUIuNF8ho1EO2coPw9TxU4s irR/kX0qI/G5x8zpTWm/an3k5FshEga344/KF2KkW/prmNlr93G7+OGOzn6ttg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695074387; a=rsa-sha256; cv=none; b=QMpb+jgvuIMfZmgrRs6U08nJvzziEDa2MyVdtZxgS8LhsXeX0x27voy6ncCAb3IgiLDkOh PPnoQFLbU9v6h535mmjTeQsgbL6uLx9RozLhY7Q1WpGWwaqliSVyyMPRo4Kygr9Oa4IVtz hbeSv3C4xu4px/dpIHpPqnEbArUUj8FYDBXMU7wkRbVtIgqA7UR6sv0cJM+h4JKhbrjPID lbxABsyuY/406CXBFIB08MAKrRpoUhEnJgyz5CWgjN27SihEzFFzi55kyEe1NIhkwMaWXV wKBfmbGg5dnUFWR0mU/arXk887sma9sUdZvdWchAIKVKBCM6G9T5S9ZWivsYQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695074387; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vH4WhZw99K8G+RSNDbi4uoPmnv5pziqLvQJsSpIeanM=; b=u+qMrkAGFSV3/R8IbSgNHn7LgVX/1XSQMegVIK99QLoaCDDRVZaEnw9plRpIeh0FWRFkmh Ris4I5dpzP82UGnqJCwYwrp3attpr/gWtw009tIUNXpKaPSvxvfO2plOFjvOqQ1ngmrUiI wnFIPH+/v4hJtzAb8tFvIpfp5RAvhnUUW3Hbm+u0SjmkF/qftde9Kxken4GMY/pqFtLyAi Yui2VcBxG4GsKKIuF7N95hdnXFyf6fGMHrhcJCu5LqpYcXznZ/BbIKhCKEgSBgQZop4+zk 0Go7QWIPcwjTGPSNrx9RF9p7ex0h3nz1K/1RShsRmZju18FgQeRPEAcLM40ICA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RqJcM3YhjznNr; Mon, 18 Sep 2023 21:59:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38ILxl4e045451; Mon, 18 Sep 2023 21:59:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38ILxlaQ045448; Mon, 18 Sep 2023 21:59:47 GMT (envelope-from git) Date: Mon, 18 Sep 2023 21:59:47 GMT Message-Id: <202309182159.38ILxlaQ045448@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 5e3a8a4a035e - main - rc.conf.5: Document _setup List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5e3a8a4a035e6ff779cf54217870a259eb593d97 Auto-Submitted: auto-generated 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 _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