diff --git a/setup/start/systemd/unbound.service b/setup/start/systemd/unbound.service index 1515e5cf6..4f475a52b 100644 --- a/setup/start/systemd/unbound.service +++ b/setup/start/systemd/unbound.service @@ -8,6 +8,7 @@ Wants=network-online.target nss-lookup.target [Service] PIDFile=/run/unbound.pid +ExecStartPre=/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key ExecStart=/usr/sbin/unbound -d ExecReload=/bin/kill -HUP $MAINPID Restart=always