[OE-core] [PATCH 1/1] dhcp: set Type=forking for dhcpd.service

Chen Qi Qi.Chen at windriver.com
Thu Sep 18 05:50:00 UTC 2014


Set Type=forking for dhcpd.service to make it start up correctly.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 meta/recipes-connectivity/dhcp/files/dhcpd.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/dhcp/files/dhcpd.service b/meta/recipes-connectivity/dhcp/files/dhcpd.service
index 8648f1a..80f6c41 100644
--- a/meta/recipes-connectivity/dhcp/files/dhcpd.service
+++ b/meta/recipes-connectivity/dhcp/files/dhcpd.service
@@ -4,6 +4,7 @@ After=network.target
 After=time-sync.target
 
 [Service]
+Type=forking
 EnvironmentFile=@SYSCONFDIR@/default/dhcp-server
 ExecStart=- at SBINDIR@/dhcpd -q $INTERFACES
 
-- 
1.9.1




More information about the Openembedded-core mailing list