summarylogtreecommitdiffstats
path: root/named.service
blob: 99cf4bb67968854a9b0200b1ec8d5f3cf8946984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=TRUST-DNS server
Wants=network-online.target
After=network-online.target

[Service]
User=named
DynamicUser=yes
ExecStart=/usr/bin/named
AmbientCapabilities=CAP_NET_BIND_SERVICE
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
Restart=on-failure
RestartSec=1

[Install]
WantedBy=multi-user.target