mirror of
https://github.com/chatmail/relay.git
synced 2026-05-20 21:08:03 +00:00
unbound: generate root.key manually if it doesn't exist
This commit is contained in:
@@ -399,7 +399,11 @@ def deploy_chatmail(config_path: Path) -> None:
|
|||||||
# to use 127.0.0.1 as the resolver.
|
# to use 127.0.0.1 as the resolver.
|
||||||
apt.packages(
|
apt.packages(
|
||||||
name="Install unbound",
|
name="Install unbound",
|
||||||
packages="unbound",
|
packages=["unbound", "unbound-anchor"],
|
||||||
|
)
|
||||||
|
server.shell(
|
||||||
|
name="Generate root keys for validating DNSSEC",
|
||||||
|
commands=["unbound-anchor -a /var/lib/unbound/root.key || true"],
|
||||||
)
|
)
|
||||||
systemd.service(
|
systemd.service(
|
||||||
name="Start and enable unbound",
|
name="Start and enable unbound",
|
||||||
|
|||||||
Reference in New Issue
Block a user