From f0ee1778c99a8b40c0fefa5f846aa34bf9701008 Mon Sep 17 00:00:00 2001 From: Dai Caiyun Date: Fri, 22 Apr 2016 12:18:31 +0300 Subject: dhcp: dhcrelay.service cannot start successfully Modify dhcrelay.service to avoid it start failed. Signed-off-by: Dai Caiyun Signed-off-by: Ross Burton --- meta/recipes-connectivity/dhcp/files/dhcrelay.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-connectivity/dhcp/files') diff --git a/meta/recipes-connectivity/dhcp/files/dhcrelay.service b/meta/recipes-connectivity/dhcp/files/dhcrelay.service index a2d818917db..15ff927d346 100644 --- a/meta/recipes-connectivity/dhcp/files/dhcrelay.service +++ b/meta/recipes-connectivity/dhcp/files/dhcrelay.service @@ -3,7 +3,8 @@ Description=DHCP Relay Agent Daemon After=network.target [Service] -ExecStart=@SBINDIR@/dhcrelay -d --no-pid +EnvironmentFile=@SYSCONFDIR@/default/dhcp-relay +ExecStart=@SBINDIR@/dhcrelay -d --no-pid -q $SERVERS [Install] WantedBy=multi-user.target -- cgit 1.2.3-korg