diff --git a/dns/gdnsd2/Makefile b/dns/gdnsd2/Makefile index 062bef947aa1..d5f848c53324 100644 --- a/dns/gdnsd2/Makefile +++ b/dns/gdnsd2/Makefile @@ -3,6 +3,7 @@ PORTNAME= gdnsd PORTVERSION= 2.2.2 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= https://github.com/gdnsd/gdnsd/releases/download/v${PORTVERSION}/ \ http://mirrors.rit.edu/zi/ \ diff --git a/dns/gdnsd2/files/gdnsd.in b/dns/gdnsd2/files/gdnsd.in index baf1f0c06df8..f32daf9e0c8a 100644 --- a/dns/gdnsd2/files/gdnsd.in +++ b/dns/gdnsd2/files/gdnsd.in @@ -28,7 +28,9 @@ load_rc_config $name command="%%PREFIX%%/sbin/gdnsd" command_args="start" procname=${command} +restart_precmd="gdnsd_checkconf" reload_cmd="gdnsd_reload" +reload_precmd="gdnsd_checkconf" configtest_cmd="gdnsd_checkconf" extra_commands="reload configtest" gdnsd_reload()