Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] dhcp: set Type=forking for dhcpd.service
@ 2014-09-18  5:49 Chen Qi
  2014-09-18  5:50 ` [PATCH 1/1] " Chen Qi
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2014-09-18  5:49 UTC (permalink / raw)
  To: openembedded-core

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(+)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] dhcp: set Type=forking for dhcpd.service
  2014-09-18  5:49 [PATCH 0/1] dhcp: set Type=forking for dhcpd.service Chen Qi
@ 2014-09-18  5:50 ` Chen Qi
  2014-09-18 16:00   ` Randy Witt
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2014-09-18  5:50 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Chen Qi <Qi.Chen@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=-@SBINDIR@/dhcpd -q $INTERFACES
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] dhcp: set Type=forking for dhcpd.service
  2014-09-18  5:50 ` [PATCH 1/1] " Chen Qi
@ 2014-09-18 16:00   ` Randy Witt
  0 siblings, 0 replies; 3+ messages in thread
From: Randy Witt @ 2014-09-18 16:00 UTC (permalink / raw)
  To: openembedded-core

On 09/17/2014 10:50 PM, Chen Qi wrote:
> Set Type=forking for dhcpd.service to make it start up correctly.
>
> Signed-off-by: Chen Qi <Qi.Chen@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

Is it possible to set "PIDFile=" as well? There can be some weird 
behaviour if systemd loses track of the child process.

>   EnvironmentFile=@SYSCONFDIR@/default/dhcp-server
>   ExecStart=-@SBINDIR@/dhcpd -q $INTERFACES
>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-18 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-18  5:49 [PATCH 0/1] dhcp: set Type=forking for dhcpd.service Chen Qi
2014-09-18  5:50 ` [PATCH 1/1] " Chen Qi
2014-09-18 16:00   ` Randy Witt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox