Commit b5a63b85 authored by Daniel Kahn Gillmor's avatar Daniel Kahn Gillmor

scripts/update-keyring: reload bind9 after publishing the _openpgpkey zonefile

Over in #debian-admin:

14:54 <@weasel> dkg: to reload the zone file from disk, sudo service bind9 reload
14:55 <@weasel> (also note that serials will not match with what you see in the wild)
14:56 <@weasel> (that's a side-effect of bind9 inline-signing)
Signed-off-by: Daniel Kahn Gillmor's avatarDaniel Kahn Gillmor <dkg@fifthhorseman.net>
parent 5bdaba0f
......@@ -240,6 +240,7 @@ def publish(srcdir: str,
path.join(prefix, '_openpgpkey.debian.org.zone'))
os.chdir(srcdir)
run(['static-update-component', 'openpgpkey.debian.org'], check=True)
run(['sudo', 'service', 'bind9', 'reload'], check=True)
def openpgpkey_zonefile_header(timestamp: datetime.datetime = None, sequence: int = 0) -> bytes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment