Add systemd files

This commit is contained in:
Jöran Malek 2024-01-13 17:38:24 +01:00
parent 526beac55e
commit 9684f15925
2 changed files with 23 additions and 0 deletions

View 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

View 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