/lib/systemd/system/pdns.service is in pdns-server 4.0.0~alpha2-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | [Unit]
Description=PowerDNS Authoritative Server
Documentation=man:pdns_server(8) man:pdns_control(8)
Wants=network-online.target
After=network-online.target mysqld.service postgresql.service slapd.service
[Service]
Type=forking
ExecStart=/usr/sbin/pdns_server --daemon --guardian=yes
Restart=on-failure
RestartSec=2
TimeoutStopSec=5
StartLimitInterval=0
PrivateTmp=true
PrivateDevices=true
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID
NoNewPrivileges=true
ProtectSystem=full
ProtectHome=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
[Install]
WantedBy=multi-user.target
|