19 lines
497 B
SYSTEMD
19 lines
497 B
SYSTEMD
|
[Unit]
|
||
|
Description=PowerDNS Authoritative Server
|
||
|
Documentation=man:pdns_server(8) man:pdns_control(8)
|
||
|
Wants=network-online.target
|
||
|
After=network-online.target mariadb.service postgresql.service slapd.service
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
ExecStart=/usr/sbin/pdns_server --daemon
|
||
|
Restart=on-failure
|
||
|
StartLimitInterval=0
|
||
|
PrivateTmp=true
|
||
|
ProtectHome=true
|
||
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID
|
||
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|