All of lore.kernel.org
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] dhcp: fix for systemd service file
Date: Wed, 17 Dec 2014 17:38:14 +0800	[thread overview]
Message-ID: <54914F06.3030405@windriver.com> (raw)
In-Reply-To: <e8d9350d5e90ff8b13ab18cd0ec0c868e7cc7f9e.1411894750.git.Qi.Chen@windriver.com>

ping

On 09/28/2014 04:59 PM, Chen Qi wrote:
> 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 | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-connectivity/dhcp/files/dhcpd.service b/meta/recipes-connectivity/dhcp/files/dhcpd.service
> index 8648f1a..4215173 100644
> --- a/meta/recipes-connectivity/dhcp/files/dhcpd.service
> +++ b/meta/recipes-connectivity/dhcp/files/dhcpd.service
> @@ -4,7 +4,9 @@ After=network.target
>   After=time-sync.target
>   
>   [Service]
> -EnvironmentFile=@SYSCONFDIR@/default/dhcp-server
> +Type=forking
> +PIDFile=/var/run/dhcpd.pid
> +EnvironmentFile=-@SYSCONFDIR@/default/dhcp-server
>   ExecStart=-@SBINDIR@/dhcpd -q $INTERFACES
>   
>   [Install]



  reply	other threads:[~2014-12-17  9:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-28  8:59 [PATCH 0/1] dhcp: fix for systemd service file Chen Qi
2014-09-28  8:59 ` [PATCH 1/1] " Chen Qi
2014-12-17  9:38   ` ChenQi [this message]
2014-12-17 10:21     ` Enrico Scholz
2014-12-18  3:08       ` ChenQi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54914F06.3030405@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.