Date: Fri, 3 Sep 2021 12:20:34 GMT From: Philip Paeps <philip@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 47c174e69afe - main - dns/gdnsd3: fix reload/restart/stats rc commands Message-ID: <202109031220.183CKYSv009855@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by philip: URL: https://cgit.FreeBSD.org/ports/commit/?id=47c174e69afe5faedc815a49fc724675b1bf7f60 commit 47c174e69afe5faedc815a49fc724675b1bf7f60 Author: Philip Paeps <philip@FreeBSD.org> AuthorDate: 2021-09-03 12:20:10 +0000 Commit: Philip Paeps <philip@FreeBSD.org> CommitDate: 2021-09-03 12:20:10 +0000 dns/gdnsd3: fix reload/restart/stats rc commands Use the absolute path to gdnsdctl. Approved by: zi (maintainer) --- dns/gdnsd3/Makefile | 1 + dns/gdnsd3/files/gdnsd.in | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dns/gdnsd3/Makefile b/dns/gdnsd3/Makefile index 407fee3c681d..a849395d7628 100644 --- a/dns/gdnsd3/Makefile +++ b/dns/gdnsd3/Makefile @@ -2,6 +2,7 @@ PORTNAME= gdnsd PORTVERSION= 3.7.0 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= https://github.com/gdnsd/gdnsd/releases/download/v${PORTVERSION}/ \ ZI \ diff --git a/dns/gdnsd3/files/gdnsd.in b/dns/gdnsd3/files/gdnsd.in index 643779a25887..088edc85a554 100644 --- a/dns/gdnsd3/files/gdnsd.in +++ b/dns/gdnsd3/files/gdnsd.in @@ -48,12 +48,12 @@ gdnsd_prestart() gdnsd_reload() { - gdnsdctl reload-zones + %%PREFIX%%/bin/gdnsdctl reload-zones } gdnsd_restart() { - gdnsdctl replace + %%PREFIX%%/bin/gdnsdctl replace } gdnsd_checkconf() @@ -63,7 +63,7 @@ gdnsd_checkconf() gdnsd_stats() { - gdnsdctl stats + %%PREFIX%%/bin/gdnsdctl stats } run_rc_command "$1"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109031220.183CKYSv009855>