mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 12:28:06 +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(
|
server.shell(
|
||||||
name="Generate root keys for validating DNSSEC",
|
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(
|
systemd.service(
|
||||||
name="Start and enable unbound",
|
name="Start and enable unbound",
|
||||||
|
|||||||
Reference in New Issue
Block a user