aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/dyndhcpd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/dyndhcpd@.service')
-rw-r--r--systemd/dyndhcpd@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/systemd/dyndhcpd@.service b/systemd/dyndhcpd@.service
new file mode 100644
index 0000000..8eb1867
--- /dev/null
+++ b/systemd/dyndhcpd@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=IPv4 DHCP server for interface %i
+After=network.target
+Requires=sys-subsystem-net-devices-%i.device
+
+[Service]
+ExecStart=/usr/bin/dyndhcpd -i%i
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
+
+[Install]
+WantedBy=multi-user.target