certmonger/0002-Change-var-run-run-in-systemd-service-file.patch
Rob Crittenden 2b5894b598 Move systemd tmpfiles from /var/run to /run
systemd 239 complains about the legacy of certmonger's tmpfiles
which are located in /var/run.

Change /var/run -> /run in systemd service file
2019-05-22 15:00:12 -04:00

33 lines
1010 B
Diff

From c2687bdf550f65756aef2cada53e18530ad402c9 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion@nwra.com>
Date: Wed, 8 May 2019 08:23:23 -0600
Subject: [PATCH] Change /var/run -> /run in systemd service file
systemd 239 complains about the legacy of certmonger's PID file which is
located in /var/run.
Signed-off-by: Orion Poplawski <orion@nwra.com>
---
systemd/certmonger.service.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/systemd/certmonger.service.in b/systemd/certmonger.service.in
index 7bdbb464..6381d845 100644
--- a/systemd/certmonger.service.in
+++ b/systemd/certmonger.service.in
@@ -4,9 +4,9 @@ After=syslog.target network.target dbus.service
[Service]
Type=dbus
-PIDFile=/var/run/certmonger.pid
+PIDFile=/run/certmonger.pid
EnvironmentFile=-/etc/sysconfig/certmonger
-ExecStart=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS
+ExecStart=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS
BusName=@CM_DBUS_NAME@
[Install]
--
2.17.2