1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

dns/gdnsd3: fix reload/restart/stats rc commands

Use the absolute path to gdnsdctl.

Approved by:	zi (maintainer)
This commit is contained in:
Philip Paeps 2021-09-03 20:20:10 +08:00
parent 2d223a6d05
commit 47c174e69a
2 changed files with 4 additions and 3 deletions

View File

@ -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 \

View File

@ -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"