dhcp: set Type=forking for dhcpd.service
cover dhcp: set Type=forking for dhcpd.service
The following changes since commit f6a39cc957bf85ff43513f0b76afc3b2c9c906b6:
sstatesig: fix overrides behaviour to remove SIGGEN_LOCKEDSIGS_i586 (2014-09-17 22:00:05 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib ChenQi/systemd-dhcpd
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/systemd-dhcpd
Chen Qi (1):
dhcp: set Type=forking for dhcpd.service
meta/recipes-connectivity/dhcp/files/dhcpd.service | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
1.9.1
PATCH 1/1 dhcp: set Type=forking for dhcpd.service
Set Type=forking for dhcpd.service to make it start up correctly.
--- meta/recipes-connectivity/dhcp/files/dhcpd.service | 1 + 1 file changed, 1 insertion(+)
meta/recipes-connectivity/dhcp/files/dhcpd.service +1 -0
@@ -4,6 +4,7 @@ After=network.target After=time-sync.target [Service] +Type=forking EnvironmentFile=@SYSCONFDIR@/default/dhcp-server ExecStart=-@SBINDIR@/dhcpd -q $INTERFACES
Signature · 1 line
1.9.1
Quoted 12 lines · Chen Qi
Set Type=forking for dhcpd.service to make it start up correctly.
Signed-off-by Chen Qi <[email protected]>--- meta/recipes-connectivity/dhcp/files/dhcpd.service | 1 + 1 file changed, 1 insertion(+)meta/recipes-connectivity/dhcp/files/dhcpd.service +0
-0
meta/recipes-connectivity/dhcp/files/dhcpd.service After=network.target · line 7
Quoted 4 lines
meta/recipes-connectivity/dhcp/files/dhcpd.service +1
-0@@ -4,6 +4,7 @@ After=network.target After=time-sync.target [Service] +Type=forking
Is it possible to set "PIDFile=" as well? There can be some weird behaviour if systemd loses track of the child process.
Quoted 4 lines
meta/recipes-connectivity/dhcp/files/dhcpd.service +0
-0EnvironmentFile=@SYSCONFDIR@/default/dhcp-server ExecStart=-@SBINDIR@/dhcpd -q $INTERFACES