2011-07-20 15:07:05 +00:00
|
|
|
[Unit]
|
2012-09-24 17:04:10 +00:00
|
|
|
Description=PowerDNS Authoritative Server
|
2013-06-04 12:04:01 +00:00
|
|
|
After=network.target mysqld.service postgresql.service slapd.service
|
2011-07-20 15:07:05 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2013-01-07 15:30:10 +00:00
|
|
|
ExecStart=/usr/sbin/pdns_server --daemon
|
2011-07-20 15:07:05 +00:00
|
|
|
ExecStop=/usr/bin/pdns_control quit
|
2013-01-07 15:30:10 +00:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=2
|
2013-02-11 13:23:55 +00:00
|
|
|
PrivateTmp=true
|
2011-07-20 15:07:05 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|