Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2016 19:44:58 +0000 (UTC)
From:      Allan Jude <allanjude@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420941 - in head/dns/gdnsd2: . files
Message-ID:  <201608261944.u7QJiwHa065971@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: allanjude (src,doc committer)
Date: Fri Aug 26 19:44:57 2016
New Revision: 420941
URL: https://svnweb.freebsd.org/changeset/ports/420941

Log:
  gdnsd2: run checkconf before reload/restart
  
  Submitted by:	Andrew Fengler <andrew.fengler@scaleengine.com>
  Reviewed by:	matthew
  Approved by:	zi (maintainer)
  Sponsored by:	ScaleEngine Inc.
  Differential Revision:	https://reviews.freebsd.org/D7488

Modified:
  head/dns/gdnsd2/Makefile
  head/dns/gdnsd2/files/gdnsd.in

Modified: head/dns/gdnsd2/Makefile
==============================================================================
--- head/dns/gdnsd2/Makefile	Fri Aug 26 18:29:46 2016	(r420940)
+++ head/dns/gdnsd2/Makefile	Fri Aug 26 19:44:57 2016	(r420941)
@@ -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/ \

Modified: head/dns/gdnsd2/files/gdnsd.in
==============================================================================
--- head/dns/gdnsd2/files/gdnsd.in	Fri Aug 26 18:29:46 2016	(r420940)
+++ head/dns/gdnsd2/files/gdnsd.in	Fri Aug 26 19:44:57 2016	(r420941)
@@ -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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608261944.u7QJiwHa065971>