summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-29 20:13:08 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-29 20:13:08 +0100
commitea3c4544634a9d916deff4bd6cdce1522d395a0d (patch)
tree1dc6ba72b8544090a56ab9b9335a7e4a5155fe2e /src/systemd
parent4d3acd6e6fb0b5600cc65bb962c99305f10f92c1 (diff)
downloadvyos-1x-ea3c4544634a9d916deff4bd6cdce1522d395a0d.tar.gz
vyos-1x-ea3c4544634a9d916deff4bd6cdce1522d395a0d.zip
dhcpv6-relay: T3095: migrate service to get_config_dict()
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/isc-dhcp-relay6.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemd/isc-dhcp-relay6.service b/src/systemd/isc-dhcp-relay6.service
index 85ff16e41..8788d1ed6 100644
--- a/src/systemd/isc-dhcp-relay6.service
+++ b/src/systemd/isc-dhcp-relay6.service
@@ -3,7 +3,7 @@ Description=ISC DHCP IPv6 relay
Documentation=man:dhcrelay(8)
Wants=network-online.target
RequiresMountsFor=/run
-ConditionPathExists=/run/dhcp-relay/dhcpv6.conf
+ConditionPathExists=/run/dhcp-relay/dhcrelay6.conf
After=vyos-router.service
[Service]
@@ -11,7 +11,7 @@ Type=forking
WorkingDirectory=/run/dhcp-relay
RuntimeDirectory=dhcp-relay
RuntimeDirectoryPreserve=yes
-EnvironmentFile=/run/dhcp-relay/dhcpv6.conf
+EnvironmentFile=/run/dhcp-relay/dhcrelay6.conf
PIDFile=/run/dhcp-relay/dhcrelayv6.pid
ExecStart=/usr/sbin/dhcrelay -6 -pf /run/dhcp-relay/dhcrelayv6.pid $OPTIONS
Restart=always