From 468a109e058b8b5e2d5b4db11ecab23d73c802fb Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 12 Apr 2020 14:18:51 +0200 Subject: dhcp-server: T2185: create directories in /run on-demand Commit bc68244 ("dhcp-server: T2185: migrate from SysVinit to systemd") migrated the DHCP subsystem to systemd, necessary directories in the volatile /run directory have not been created. --- src/systemd/isc-dhcp-server.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/systemd') 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; \ -- cgit v1.2.3