Date: Thu, 1 Sep 2022 23:54:04 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: e19631737085 - main - local_unbound: rc: allow to overwrite pid file path Message-ID: <202209012354.281Ns4oJ001469@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=e1963173708504ecd2ee5c441a9428a046af54f4 commit e1963173708504ecd2ee5c441a9428a046af54f4 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-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() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209012354.281Ns4oJ001469>