]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
systemd/initrd-switch-root.service: stop journald, rather than restart
authorHarald Hoyer <harald@redhat.com>
Tue, 10 Jul 2012 14:19:56 +0000 (16:19 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 10 Jul 2012 14:19:56 +0000 (16:19 +0200)
modules.d/98systemd/initrd-switch-root.service

index 84fc11ed32f834c1846f634a391af5742b85f2af..493b0852068bd436105071fa5fa4a69bd7ec81e9 100644 (file)
@@ -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