/lib/systemd/system/pdns.service is in pdns-server 3.4.1-4+deb8u8.
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 | [Unit]
Description=PowerDNS Authoritative Server
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/sbin/pdns_server --daemon=no
ExecStop=/usr/bin/pdns_control quit
TimeoutStopSec=5
Restart=on-failure
RestartSec=2
PrivateTmp=true
[Install]
WantedBy=multi-user.target
|