summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/isc-dhcp-server.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systemd/isc-dhcp-server.service b/src/systemd/isc-dhcp-server.service
index 39a97fb4e..4c3cb9920 100644
--- a/src/systemd/isc-dhcp-server.service
+++ b/src/systemd/isc-dhcp-server.service
@@ -7,8 +7,7 @@ After=time-sync.target
ConditionPathExists=/run/dhcp-server/dhcpd.conf
[Service]
-
-RuntimeDirectory=dhcp-server
+WorkingDirectory=/run/dhcp-server
# The leases files need to be root:vyattacfg even when dropping privileges
ExecStart=/bin/sh -ec '\
CONFIG_FILE=/run/dhcp-server/dhcpd.conf; \