summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-13 12:38:37 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-13 12:39:13 +0200
commit9c8dac06170eaddd312abb52b0b5724ada4c5ee8 (patch)
treef1deca3fd1fc41a8ba24717d28697bdddfe4aeec /data
parent8d189ba9e904b6cf28782d4f477764b18aff2e2c (diff)
downloadvyos-1x-9c8dac06170eaddd312abb52b0b5724ada4c5ee8.tar.gz
vyos-1x-9c8dac06170eaddd312abb52b0b5724ada4c5ee8.zip
dhcp-relay: T2185: migrate from SysVinit to systemd
Diffstat (limited to 'data')
-rw-r--r--data/templates/dhcp-relay/config.tmpl17
1 files changed, 2 insertions, 15 deletions
diff --git a/data/templates/dhcp-relay/config.tmpl b/data/templates/dhcp-relay/config.tmpl
index 7203ae9fb..b223807cf 100644
--- a/data/templates/dhcp-relay/config.tmpl
+++ b/data/templates/dhcp-relay/config.tmpl
@@ -1,17 +1,4 @@
### Autogenerated by dhcp_relay.py ###
-# Defaults for isc-dhcp-relay initscript
-# sourced by /etc/init.d/isc-dhcp-relay
-
-#
-# This is a POSIX shell fragment
-#
-
-# What servers should the DHCP relay forward requests to?
-SERVERS="{{ server | join(' ') }}"
-
-# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?
-INTERFACES="{{ interface | join(' ') }}"
-
-# Additional options that are passed to the DHCP relay daemon?
-OPTIONS="-4 {{ options | join(' ') }}"
+# Defaults for isc-dhcp-relay6.service
+OPTIONS="{{ options | join(' ') }} -i {{ interface | join(' -i ') }} {{ server | join(' ') }}"