Recharge knot

This commit is contained in:
Benjamin Graillot 2018-08-11 00:52:17 +02:00 committed by root
parent 9a567c8fb2
commit 64ee985f7a

View file

@ -340,3 +340,4 @@ for service in api_client.list("services/regen/"):
write_dns_files(api_client)
write_dns_reverse_file(api_client)
api_client.patch(service['api_url'], data={'need_regen': False})
os.system('/usr/sbin/knotc zone-reload >/dev/null 2>&1')