79ba087fa8
- stop journal rather than restart - copy over dracut services to /run/systemd/system
24 lines
966 B
Diff
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
|