summaryrefslogtreecommitdiffstats
path: root/debian/bind9-pkcs11.service
blob: 75f7f63ce45835faf2afc97e4003167611c2d28e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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