commit:     d21a26afb4081fb2c99c2ef2bc3e5f0d3c341dd3
Author:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Thu May 15 00:28:11 2025 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Thu May 15 00:28:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d21a26af

net-dns/unbound: add new files/unbound-anchor-r1.service

Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>

 net-dns/unbound/files/unbound-anchor-r1.service | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/net-dns/unbound/files/unbound-anchor-r1.service 
b/net-dns/unbound/files/unbound-anchor-r1.service
new file mode 100644
index 000000000000..562e1d43252f
--- /dev/null
+++ b/net-dns/unbound/files/unbound-anchor-r1.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Update of the root trust anchor for DNSSEC validation
+Documentation=man:unbound-anchor(8)
+After=network-online.target
+Before=unbound.service
+
+[Service]
+Type=oneshot
+User=unbound
+Group=unbound
+ExecStart=/usr/bin/unbound-anchor -a /etc/unbound/var/root-anchors.txt -c 
/etc/dnssec/icannbundle.pem
+SuccessExitStatus=1
+
+[Install]
+WantedBy=multi-user.target

Reply via email to