From b998c876c32e6ea7d15a10544db02ecb9e700183 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Date: Sun, 25 Oct 2015 02:59:30 +0200 Subject: [PATCH] package/dhcp: systemd: support extra options MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: "Maxime Hadjinlian" Signed-off-by: Thomas Petazzoni --- package/dhcp/dhcpd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dhcp/dhcpd.service b/package/dhcp/dhcpd.service index a05deb878f..98cc54b05b 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 -- 2.30.2