From nobody Fri Sep 22 12:44:11 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 4RsX5S2Pt1z4tpsw; Fri, 22 Sep 2023 12:44:12 +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 4RsX5S0Yfkz3KL6; Fri, 22 Sep 2023 12:44:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695386652; 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=1z3JuGetCqf44JGQxd3vWCDFRPFXipbJ2Pw4h7X5ZUc=; b=fQMqCKUcZx+n+nHD7obQcnwH5Bgpl7jJ8XksOyDN038bQyHu0Pa9x1zGyO3w5nRhcxRT/B odNMZFRfoPurIcFO6Qa2dV+6VpiR9/JX365N2MznIJEiJft/HOu99TszHzhgM/8tONt2Z3 Cw365OnbKKkuT4kEO/ctb2DQDKK+N9LGoNeqHYVBsQX9iur/lVQWhGFMncqTeYHX5tM/mP 8NPoLJP9xu7Ifuja4W8qENK1DYsOoGZHhNh2iI92UUlHLAha4UYy0imLe3E7dsULL9t2M0 GN1O5OG/gHyN725mL7wX5R+k1+19K3LUNb5uAqMF5VoyGohvN5fy6lWKLE6uZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695386652; a=rsa-sha256; cv=none; b=fpq7nX10zQztyjcWxAYv1nR16XZCUxvJFXAZ9RbkagB780GvhvyZhsFz4BZx3tZnlC7NWs MN3l0YR1PkT9xQ8+/2mZ4Rf1ngMYxuqxYKpb1g9I3D7cFzBYbu5xMpwZ20RR3fsavabgVd ONttXARSNuRXP/yMORuB/oy80ePWl8Qt+5AH3N94QYL926aYdK7ohA8/UaAkfKewR29DL9 +FRirMAwY0onvKvQDmLsyy+PVJMhEKfb6beA0yUGscoNkk0XVh9TIyojgmEuH6wW3sXHIf LmsjooJfX8TANN7tPSQrZEw4FwCFx0nklUi7sq+qMSIrB253YL8r5dYft81lUA== 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=1695386652; 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=1z3JuGetCqf44JGQxd3vWCDFRPFXipbJ2Pw4h7X5ZUc=; b=fwHzb5DCijMc+KCSzOtThhVzT1dj0etDEbsX9G0cG0mfv+XAa9Vjz+vo0NR6275VgGLlY3 Q5TD9JKrS0cbx5PQTx6vIRLtkpXe9UPaPxK5lrlRSe2D4giwl94kjCe/HGO/K6zzLaWZ9T nd9cut1w93zReBBqtdicUQCQtLNuD6gMrgaHDX6aLbtuESa8D/3/E43iDmMT/iRK7f/UDr 4+ieP8SEmlttGfGfPa2dYxwlBpP3aNhVFjIko91bg2zwiGoDQEyqa49DWW/r3HiA+bVQKg QusYz9RcoAvzEhdbvVCDrgm4wnEtCyY7AC4OCn/sG2KaHduc+D6YXtB0ufAatA== 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 4RsX5R6n4Yz74l; Fri, 22 Sep 2023 12:44:11 +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 38MCiBHU030855; Fri, 22 Sep 2023 12:44:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38MCiB5D030851; Fri, 22 Sep 2023 12:44:11 GMT (envelope-from git) Date: Fri, 22 Sep 2023 12:44:11 GMT Message-Id: <202309221244.38MCiB5D030851@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 7342a436750b - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 7342a436750b6de8621ed51a4069509e16c461f8 Auto-Submitted: auto-generated 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 _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