Recharge knot
This commit is contained in:
parent
9a567c8fb2
commit
64ee985f7a
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -340,3 +340,4 @@ for service in api_client.list("services/regen/"):
|
||||||
write_dns_files(api_client)
|
write_dns_files(api_client)
|
||||||
write_dns_reverse_file(api_client)
|
write_dns_reverse_file(api_client)
|
||||||
api_client.patch(service['api_url'], data={'need_regen': False})
|
api_client.patch(service['api_url'], data={'need_regen': False})
|
||||||
|
os.system('/usr/sbin/knotc zone-reload >/dev/null 2>&1')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue