dracut/0070-systemd-initrd-switch-root.service-stop-journald-rat.patch
Harald Hoyer 79ba087fa8 dracut-020-72.git20120710
- stop journal rather than restart
- copy over dracut services to /run/systemd/system
2012-07-10 17:27:26 +02:00

24 lines
966 B
Diff

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