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

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

[Install]
WantedBy=multi-user.target