Blame SOURCES/0032-systemd-Update-path-in-unit-file.patch

a547b4
From b69bd2346b92f48546eb7824ead9688fb3f7af77 Mon Sep 17 00:00:00 2001
a547b4
From: Christian Hesse <mail@eworm.de>
a547b4
Date: Mon, 14 Jan 2019 12:12:00 +0100
a547b4
Subject: [PATCH] systemd: Update path in unit file
a547b4
MIME-Version: 1.0
a547b4
Content-Type: text/plain; charset=UTF-8
a547b4
Content-Transfer-Encoding: 8bit
a547b4
a547b4
When loading the unit file, systemd 240 logs:
a547b4
a547b4
systemd[1]: /usr/lib/systemd/system/spice-vdagentd.service:9: PIDFile=
a547b4
references path below legacy directory /var/run/, updating
a547b4
/var/run/spice-vdagentd/spice-vdagentd.pid →
a547b4
/run/spice-vdagentd/spice-vdagentd.pid; please update the unit file
a547b4
accordingly.
a547b4
a547b4
So update the path.
a547b4
a547b4
Signed-off-by: Christian Hesse <mail@eworm.de>
a547b4
Acked-by: Frediano Ziglio <fziglio@redhat.com>
a547b4
(cherry picked from commit 098268a33c7c8008ccec9050aea8f0763f1c06d5)
a547b4
---
a547b4
 data/spice-vdagentd.service | 2 +-
a547b4
 1 file changed, 1 insertion(+), 1 deletion(-)
a547b4
a547b4
diff --git a/data/spice-vdagentd.service b/data/spice-vdagentd.service
a547b4
index 365b2c1..9c70b30 100644
a547b4
--- a/data/spice-vdagentd.service
a547b4
+++ b/data/spice-vdagentd.service
a547b4
@@ -7,7 +7,7 @@ Requires=spice-vdagentd.socket
a547b4
 Type=forking
a547b4
 EnvironmentFile=-/etc/sysconfig/spice-vdagentd
a547b4
 ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS
a547b4
-PIDFile=/var/run/spice-vdagentd/spice-vdagentd.pid
a547b4
+PIDFile=/run/spice-vdagentd/spice-vdagentd.pid
a547b4
 PrivateTmp=true
a547b4
 Restart=on-failure
a547b4
 
a547b4
-- 
a547b4
2.20.1
a547b4