All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][m-c-s][PATCH] glusterfs: use /run instead of /var/run in systemd service file
@ 2020-10-19  8:12 Chen Qi
  2020-10-28  3:26 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2020-10-19  8:12 UTC (permalink / raw)
  To: meta-virtualization

/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


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

end of thread, other threads:[~2020-10-28  3:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.