Blame 0070-systemd-initrd-switch-root.service-stop-journald-rat.patch

Harald Hoyer 79ba08
From ad401d1eaf51677ac324523f9e11869cb29fee11 Mon Sep 17 00:00:00 2001
Harald Hoyer 79ba08
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 79ba08
Date: Tue, 10 Jul 2012 16:19:56 +0200
Harald Hoyer 79ba08
Subject: [PATCH] systemd/initrd-switch-root.service: stop journald, rather
Harald Hoyer 79ba08
 than restart
Harald Hoyer 79ba08
Harald Hoyer 79ba08
---
Harald Hoyer 79ba08
 modules.d/98systemd/initrd-switch-root.service |    2 +-
Harald Hoyer 79ba08
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 79ba08
Harald Hoyer 79ba08
diff --git a/modules.d/98systemd/initrd-switch-root.service b/modules.d/98systemd/initrd-switch-root.service
Harald Hoyer 79ba08
index 84fc11e..493b085 100644
Harald Hoyer 79ba08
--- a/modules.d/98systemd/initrd-switch-root.service
Harald Hoyer 79ba08
+++ b/modules.d/98systemd/initrd-switch-root.service
Harald Hoyer 79ba08
@@ -15,7 +15,7 @@ OnFailure=emergency.service
Harald Hoyer 79ba08
 Type=oneshot
Harald Hoyer 79ba08
 EnvironmentFile=/run/initramfs/switch-root.conf
Harald Hoyer 79ba08
 ExecStart=/usr/bin/systemctl --force switch-root ${NEWROOT} ${NEWINIT}
Harald Hoyer 79ba08
-ExecStopPost=-/usr/bin/systemctl restart systemd-journald.service
Harald Hoyer 79ba08
+ExecStopPost=-/usr/bin/systemctl stop systemd-journald.service
Harald Hoyer 79ba08
 StandardInput=null
Harald Hoyer 79ba08
 StandardOutput=null
Harald Hoyer 79ba08
 StandardError=null