summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-12 14:13:53 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-12 21:34:57 +0200
commit7c27ad6480d99e7bd10e8ccb3c0a80d485d955ef (patch)
treec2d3515e0a30924eef84afb63216531e562c4d6c /src/systemd
parentf371946044696737d1649d9119665b96430d2328 (diff)
downloadvyos-1x-7c27ad6480d99e7bd10e8ccb3c0a80d485d955ef.tar.gz
vyos-1x-7c27ad6480d99e7bd10e8ccb3c0a80d485d955ef.zip
dhcp-server: T2185: fixup ConditionPathExists variable
Commit bc68244 ("dhcp-server: T2185: migrate from SysVinit to systemd") migrated the DHCP subsystem to systemd, but on the test-system there was still the old configuration file present not triggering this condition.
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/isc-dhcp-server.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/isc-dhcp-server.service b/src/systemd/isc-dhcp-server.service
index 7d49b2c37..39a97fb4e 100644
--- a/src/systemd/isc-dhcp-server.service
+++ b/src/systemd/isc-dhcp-server.service
@@ -4,7 +4,7 @@ Documentation=man:dhcpd(8)
After=vyos-router.service
RequiresMountsFor=/run
After=time-sync.target
-ConditionPathExists=/etc/dhcp/dhcpd.conf
+ConditionPathExists=/run/dhcp-server/dhcpd.conf
[Service]