]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
dhcp: fix for systemd service file ChenQi/systemd-dhcpd
authorChen Qi <Qi.Chen@windriver.com>
Thu, 18 Sep 2014 05:47:43 +0000 (13:47 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Sun, 28 Sep 2014 08:57:39 +0000 (16:57 +0800)
commite8d9350d5e90ff8b13ab18cd0ec0c868e7cc7f9e
tree6ba54c07e1bb9ea770a680422f3cc0b03d7b5ec4
parente6c6d3fcfd2faf867e8145d25c1ba197fb9ee6b5
dhcp: fix for systemd service file

1. Set Type=forking for dhcpd.service to make it start up correctly.
2. Add PIDFile=/var/run/dhcpd.pid
3. Do not force existence of the environment file.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-connectivity/dhcp/files/dhcpd.service