summaryrefslogtreecommitdiffstats
path: root/debian/bind9-pkcs11.service
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 18:37:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 18:37:15 +0000
commit55ad72d44a94298a96b8f05488ca5ed97ef04736 (patch)
tree8aaa712c1d8b8d191b77a7eef4dc42c770e3b3d0 /debian/bind9-pkcs11.service
parentAdding upstream version 1:9.11.5.P4+dfsg. (diff)
downloadbind9-55ad72d44a94298a96b8f05488ca5ed97ef04736.tar.xz
bind9-55ad72d44a94298a96b8f05488ca5ed97ef04736.zip
Adding debian version 1:9.11.5.P4+dfsg-5.1+deb10u7.debian/1%9.11.5.P4+dfsg-5.1+deb10u7debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/bind9-pkcs11.service')
-rw-r--r--debian/bind9-pkcs11.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/bind9-pkcs11.service b/debian/bind9-pkcs11.service
new file mode 100644
index 0000000..75f7f63
--- /dev/null
+++ b/debian/bind9-pkcs11.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=BIND Domain Name Server with native PKCS#11
+Documentation=man:named(8)
+After=network.target
+
+[Service]
+EnvironmentFile=-/etc/default/bind9
+Environment=KRB5_KTNAME=/etc/bind/named.keytab
+
+ExecStart=/usr/sbin/named-pkcs11 -f -u bind
+ExecReload=/usr/sbin/rndc reload
+ExecStop=/usr/sbin/rndc stop
+
+[Install]
+WantedBy=multi-user.target