From nobody Wed Sep 21 14:00:59 2022 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 4MXg7012vFz4cXyW; Wed, 21 Sep 2022 14:01:00 +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 4MXg6z6Mq7z470c; Wed, 21 Sep 2022 14:00:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663768859; 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=bWzcYdURc9Bu8PI5A/I1XUIxYxUx9CsqBu4tcG2/HQ8=; b=jFI1Mna5ueREARhqKN4eUA2Q0iDvbi6PhlSZTWF8oIHWRNO0ZOQCN4z7OSTeyt+SlTFsEa KXUP/dA10/k1gTwSRtM8XCapopAp8pvCCj9WCpRzohpYtNv9P3nu4TLk4Q/qz2Z2tXgei9 gVoRfwWBp5EQbBuMwHMARVzA7Fu14IG1tYe6cGzeANel9nwienRTuJoQB9LX1jx0J7PS+8 3df2ZhnijnngxkjrlSo7jRy8H6f881SWGz4/nKMXcOrSqq8FEZqs4OKYwkxeDBBYJ3ZNG3 N8u5XP6u3GMiFImYUvWBud7wsww7CzH/4CCY/d0rU4tFpI37NPKkjStHIf2TPQ== 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 4MXg6z5ST5z14mT; Wed, 21 Sep 2022 14:00:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28LE0xVq098614; Wed, 21 Sep 2022 14:00:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28LE0x7a098600; Wed, 21 Sep 2022 14:00:59 GMT (envelope-from git) Date: Wed, 21 Sep 2022 14:00:59 GMT Message-Id: <202209211400.28LE0x7a098600@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: fe67d3255027 - stable/13 - local_unbound: rc: allow to overwrite pid file path 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: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: fe67d32550270e6c74612de22d74c126b381bcdb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663768859; 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=bWzcYdURc9Bu8PI5A/I1XUIxYxUx9CsqBu4tcG2/HQ8=; b=PFzdzc5ACVSFKY3CrMKkC/9r7v2JrOlyopFodh9zt1PiwlPI5SKL13ZnijWjrlKUfEAVXN m3IUAy5Bcy68j9zAWGyz/6sSYsVUy+R289erh2g+6M/KAFAOU1buIjEuyg1uCSLLSLkUwq ZD/JwOTZ8F3nvOTho9yisVRFQc98unUGyzTOAh4aKDt6nh/rz+sOdAv45XkxATL2S3sqTA xxkZ0zX9hDDn8uJFMOIOCU8zwb1ZpfwMeReYxvz05pdGAueP7rnmdygbQ7lJQxz5I0puaw GWRnyq7PeFil6RVJWG+UcxgImKPZR453AhLh604oWh1h8gH7+ffrMpW0AChSHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663768859; a=rsa-sha256; cv=none; b=G07fx7goMiwNhgang+m0dDtahr4zD4GNe+KyWNf/4GKqN+AROmBNEJCVuCHNk2Pz6uMCWc szLXY4YfmF9JD5xxpVHml4pZsgI1eJBpP2WFxqtKLBcDn15q8Mc0jPmN+b/sPALpRS+paO 0ysfZZL2ZHEDPwovt0jkDTpmWxo+T+NvLCzsTtJ9OAnH0jazYhaGeF1KD9e+BwboIVjm0i tdzRaudbf6p6vbib2QrzlZg69jZWbB1ifCN9VBVVfBLapF3Ak57EBI5sn6GvXG5qp8pyWD pCCwRNuXwTaeTemISKSh76SpCUO9dLrQS29Xj4l4uNSr9a/BS08RsvSXzGMBGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=fe67d32550270e6c74612de22d74c126b381bcdb commit fe67d32550270e6c74612de22d74c126b381bcdb Author: Bjoern A. Zeeb AuthorDate: 2022-08-11 14:32:06 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-09-21 11:38:56 +0000 local_unbound: rc: allow to overwrite pid file path Certain configurations need to use a different path for pidfile. Allow rc.conf to overwrite it. Reviewed by: cy, 0mp Differential Revision: https://reviews.freebsd.org/D36141 (cherry picked from commit e1963173708504ecd2ee5c441a9428a046af54f4) --- libexec/rc/rc.d/local_unbound | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libexec/rc/rc.d/local_unbound b/libexec/rc/rc.d/local_unbound index 19cb9a6c5c01..9c32b8263dc8 100755 --- a/libexec/rc/rc.d/local_unbound +++ b/libexec/rc/rc.d/local_unbound @@ -34,6 +34,8 @@ load_rc_config $name : ${local_unbound_anchor:=${local_unbound_workdir}/root.key} : ${local_unbound_forwarders:=} : ${local_unbound_tls:=} +: ${local_unbound_pidfile:=${pidfile}} +pidfile=${local_unbound_pidfile} do_as_unbound() {