Add systemd files
This commit is contained in:
parent
526beac55e
commit
9684f15925
2 changed files with 23 additions and 0 deletions
11
ext/systemd/pdns-dhcp.service
Normal file
11
ext/systemd/pdns-dhcp.service
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=PowerDNS/DHCP Companion Remote
|
||||||
|
Before=pdns.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
ExecStart=/opt/pdns-dhcp/pdns-dhcp
|
||||||
|
WorkingDirectory=/etc/pdns-dhcp
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
12
ext/systemd/pdns-dhcp.socket
Normal file
12
ext/systemd/pdns-dhcp.socket
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
# WARNING
|
||||||
|
# This currently not supported.
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=pdns-dhcp PowerDNS Remote Socket
|
||||||
|
|
||||||
|
[Socket]
|
||||||
|
ListenStream=/run/pdns-dhcp/pdns-dhcp.sock
|
||||||
|
Accept=no
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sockets.target
|
||||||
Loading…
Add table
Add a link
Reference in a new issue