From nobody Thu Sep 01 23:54:04 2022 X-Original-To: dev-commits-src-main@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 4MJdDX3T62z4b4bj; Thu, 1 Sep 2022 23:54:04 +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 4MJdDX2xFhz4Bdy; Thu, 1 Sep 2022 23:54:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662076444; 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=nUdiINSbSvQT5BDxsvwMWFbXT5VqyRutFw1Y1jAHXG4=; b=fiZWBkEPIPIDjGDxyBmV6LkGgb4ElmsLUgrWK0jEQ9BfQsxSEb3OKbRW/4qK5uyWAwXAqe fOIHFgHkFh6EFGNXa63Ih+i7I58WkKqmvKrKz7M+a7LObYFVnEnHpnS4OWbb9saHWzw6Ex 99U4SW4RmpoqFjb1MSN+nbvStKgMxRw2Xlkq+/jzN23uqWrqg6L3JO5aSQsQmHMNEhTrbv YJUCipgVjQybVp2nIGwT1RxzclYoRKisBrenVrSZnVrBLumvX9dAG7u4xE53WYvPcHzR0r 06oiKkBN7kOA+PNfhqBuXt5H6M0tUC4MqUhPPG74LH8jHZkTsOUXOVQAo6fqWA== 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 4MJdDX211Rzdj3; Thu, 1 Sep 2022 23:54:04 +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 281Ns4mt001470; Thu, 1 Sep 2022 23:54:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 281Ns4oJ001469; Thu, 1 Sep 2022 23:54:04 GMT (envelope-from git) Date: Thu, 1 Sep 2022 23:54:04 GMT Message-Id: <202209012354.281Ns4oJ001469@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: e19631737085 - main - local_unbound: rc: allow to overwrite pid file path List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: e1963173708504ecd2ee5c441a9428a046af54f4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662076444; 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=nUdiINSbSvQT5BDxsvwMWFbXT5VqyRutFw1Y1jAHXG4=; b=JLj5+4lqaScTdTScw47G2sIbmbLOSz4telkgmdbT6LNHtfT3euvy8yk3E8uvUMHqIzGt0i UGmIOOibzzCXLNcT/magU59RyjtnPq5W8DCLlSVWW7uU3wCdPeZfL09LhHGTTe45aES8Jh 7HqyuUP5Q+iCm7rhuDNSST+T1AUQA14tOhgZbiiDgdHCRJxMXzbc72zR3nZcBNzVzWuuLe yPYQLhZdBzpnCXolQ84vl19SPFbkdeWDAKuTXJSsb4uJXRwkEkXa458Kfzza59IuqLkyix 8+bArHD5wmcZ2I/irSfKJGSoqmTV3oa+nF7OVTxGiKzhPbMnSx8xmygyzCcMvg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662076444; a=rsa-sha256; cv=none; b=LUucBvSK913pCPQ96hW5AE4+QUIGCLn4EH6zbxmjOpR4fnVpcelHq+ofnrYCARmkvGvI5L ek0hTk3ud5H8H0cp94mgJJY0pFHimo9Eq9qB3noNAWlzIO7SfQxirrzqlUqFp83xgRZfbS AthtcwsiHqyWzocJwTeibHIC30dKV5tVGFSIFcBUCI52ShyBAKlMF660uY/0+Uv8GESvzg dCyHQxUkGTi8e8TCGikzvu/S4BqD5/Nal+QMRaWKn/FkXrlPe95VVZOeDD81HsDiAUIsGG ZDj6iwwmutH/BQ8DJv0q75lQ53/Z00stgU/JVV4qq+GOcGvxFXmCt+JZvUdF1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=e1963173708504ecd2ee5c441a9428a046af54f4 commit e1963173708504ecd2ee5c441a9428a046af54f4 Author: Bjoern A. Zeeb AuthorDate: 2022-08-11 14:32:06 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-09-01 23:51:42 +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 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D36141 --- 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() {