diff options
Diffstat (limited to '')
-rw-r--r-- | debian/bind9-pkcs11.service | 15 |
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 |