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:
parent
2d223a6d05
commit
47c174e69a
@ -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 \
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user