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

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