mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
unbound: ensure systemd service can be started after root keys were generated
This commit is contained in:
@@ -442,7 +442,10 @@ def deploy_chatmail(config_path: Path) -> None:
|
||||
)
|
||||
server.shell(
|
||||
name="Generate root keys for validating DNSSEC",
|
||||
commands=["unbound-anchor -a /var/lib/unbound/root.key || true"],
|
||||
commands=[
|
||||
"unbound-anchor -a /var/lib/unbound/root.key || true",
|
||||
"systemctl reset-failed unbound.service",
|
||||
],
|
||||
)
|
||||
systemd.service(
|
||||
name="Start and enable unbound",
|
||||
|
||||
Reference in New Issue
Block a user