From: Benjamin Drung Date: Sat, 9 May 2026 10:01:08 +0000 (+0200) Subject: perf(dracut-systemd): drop ExecStart from oneshot shutdown service X-Git-Tag: 112~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb2f35cb0697ce188d9591e3d005f615cecb6534;p=thirdparty%2Fdracut-ng.git perf(dracut-systemd): drop ExecStart from oneshot shutdown service Systemd oneshot services that set `RemainAfterExit=yes` do not need to specify `ExecStart` in case they define `ExecStop`. So remove the useless `/bin/true` start command from `dracut-shutdown.service`. --- diff --git a/modules.d/77dracut-systemd/dracut-shutdown.service b/modules.d/77dracut-systemd/dracut-shutdown.service index b2b704a4d..e071ca811 100644 --- a/modules.d/77dracut-systemd/dracut-shutdown.service +++ b/modules.d/77dracut-systemd/dracut-shutdown.service @@ -11,5 +11,4 @@ OnFailure=dracut-shutdown-onfailure.service [Service] RemainAfterExit=yes Type=oneshot -ExecStart=/bin/true ExecStop=/usr/lib/dracut/dracut-initramfs-restore