Skip to contentSkip to conversation

dhcp: fix for systemd service file

PATCH New Chen Qi 1 participant 2 messages Dec 18, 2014

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

v2 cover dhcp: fix for systemd service file

The following changes since commit e6c6d3fcfd2faf867e8145d25c1ba197fb9ee6b5:

build-appliance-image: Update to dizzy head revision (2014-09-23 22:10:21 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/systemd-dhcpd
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-dhcpd

Chen Qi (1):
dhcp: fix for systemd service file

 meta/recipes-connectivity/dhcp/files/dhcpd.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH v2 1/1 dhcp: fix for systemd service file

1. Add '-f --no-pid' option to make dhcpd start correctly
2. Do not force existence of the environment file.

---
 meta/recipes-connectivity/dhcp/files/dhcpd.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/dhcp/files/dhcpd.service +2 -2
index 8648f1a..484f46a 100644
@@ -4,8 +4,8 @@ After=network.target
 After=time-sync.target
 
 [Service]
-EnvironmentFile=@SYSCONFDIR@/default/dhcp-server
-ExecStart=-@SBINDIR@/dhcpd -q $INTERFACES
+EnvironmentFile=-@SYSCONFDIR@/default/dhcp-server
+ExecStart=-@SBINDIR@/dhcpd -f --no-pid -q $INTERFACES
 
 [Install]
 WantedBy=multi-user.target
Signature · 1 line
1.9.1