From: "Bruce Ashfield" <bruce.ashfield@gmail.com>
To: Chen Qi <Qi.Chen@windriver.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization][m-c-s][PATCH] glusterfs: use /run instead of /var/run in systemd service file
Date: Tue, 27 Oct 2020 23:26:26 -0400 [thread overview]
Message-ID: <20201028032625.GA46280@gmail.com> (raw)
In-Reply-To: <20201019081206.10239-1-Qi.Chen@windriver.com>
merged.
Bruce
In message: [meta-virtualization][m-c-s][PATCH] glusterfs: use /run instead of /var/run in systemd service file
on 19/10/2020 Chen Qi wrote:
> /var/run has been deprecated by systemd, so use /run instead,
> as suggested by systemd.
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
> recipes-extended/glusterfs/files/glusterd.service | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-extended/glusterfs/files/glusterd.service b/recipes-extended/glusterfs/files/glusterd.service
> index 4835c820..2219f582 100644
> --- a/recipes-extended/glusterfs/files/glusterd.service
> +++ b/recipes-extended/glusterfs/files/glusterd.service
> @@ -4,9 +4,9 @@ After=syslog.target network.target
>
> [Service]
> Type=forking
> -PIDFile=@localstatedir@/run/glusterd.pid
> +PIDFile=/run/glusterd.pid
> ExecStartPre=@base_bindir@/mkdir -p @localstatedir@/log/glusterfs
> -ExecStart=@SBINDIR@/glusterd -p @localstatedir@/run/glusterd.pid
> +ExecStart=@SBINDIR@/glusterd -p /run/glusterd.pid
>
> [Install]
> WantedBy=multi-user.target
> --
> 2.17.1
>
>
>
>
prev parent reply other threads:[~2020-10-28 3:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 8:12 [meta-virtualization][m-c-s][PATCH] glusterfs: use /run instead of /var/run in systemd service file Chen Qi
2020-10-28 3:26 ` Bruce Ashfield [this message]
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=20201028032625.GA46280@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=Qi.Chen@windriver.com \
--cc=meta-virtualization@lists.yoctoproject.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.