blob: 1428b67fc7f6b8193ce460ab71992514cb2296d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description=Trust-dns: authoritative DNS server
Wants=network-online.target
After=network-online.target
[Service]
User=trust-dns
DynamicUser=yes
ExecStart=/usr/bin/trust-dns -c /etc/trust-dns/trust-dns.toml
AmbientCapabilities=CAP_NET_BIND_SERVICE
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
Restart=on-failure
RestartSec=1
[Install]
WantedBy=multi-user.target
|