Date: Wed, 21 Sep 2022 14:00:59 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: fe67d3255027 - stable/13 - local_unbound: rc: allow to overwrite pid file path Message-ID: <202209211400.28LE0x7a098600@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=fe67d32550270e6c74612de22d74c126b381bcdb commit fe67d32550270e6c74612de22d74c126b381bcdb Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2022-08-11 14:32:06 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> 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() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209211400.28LE0x7a098600>