summaryrefslogtreecommitdiff
path: root/net-dns/bind/files/named.service-r2
blob: 4ca34544fe6132957cf9c3b0124f307894a6bf71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Internet domain name server
After=network.target

[Service]
ExecStartPre=/usr/libexec/generate-rndc-key.sh
ExecStartPre=/usr/bin/named-checkconf -z /etc/bind/named.conf
ExecStart=/usr/sbin/named -f -u named
ExecReload=/usr/sbin/rndc reload
ExecStop=/usr/sbin/rndc stop

[Install]
WantedBy=multi-user.target