From: Christoph Egger Date: Thu, 18 Feb 2016 14:41:32 +0000 (+0100) Subject: rebuild actual zonefiles X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=tools.git rebuild actual zonefiles --- diff --git a/tls/addrecord b/tls/addrecord index 8d171c3..2732879 100644 --- a/tls/addrecord +++ b/tls/addrecord @@ -95,6 +95,9 @@ class Addrecord: os.rename('%s/%s.m4.new' % (sort, self._host), '%s/%s.m4' % (sort, self._host)) + # forced-command is make -C ... + # rebuilds the actual zone file + subprocess.call(["ssh", "opendnssec@localhost"]) fcntl.flock(lockfd, fcntl.LOCK_UN)