summaryrefslogtreecommitdiff
path: root/package/dhcp
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>2015-10-25 02:59:30 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-24 15:01:33 +0100
commitb998c876c32e6ea7d15a10544db02ecb9e700183 (patch)
tree90a11aa3fa16cb449f577aac42b5753f88b4643a /package/dhcp
parent80965e30eb492c8453e94f44adbc2ecf233ad465 (diff)
package/dhcp: systemd: support extra options
Add an OPTIONS configuration variable in order to make it possible to pass custom extra options to dhcpd. This keeps the systemd support consistent with the SysV init script. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> Reviewed-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dhcp')
-rw-r--r--package/dhcp/dhcpd.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dhcp/dhcpd.service b/package/dhcp/dhcpd.service
index a05deb878..98cc54b05 100644
--- a/package/dhcp/dhcpd.service
+++ b/package/dhcp/dhcpd.service
@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=forking
PIDFile=/run/dhcpd.pid
-ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $INTERFACES
+ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $OPTIONS $INTERFACES
KillSignal=SIGINT
EnvironmentFile=-/etc/default/dhcpd