mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
psplash: Set RemainAfterExit on systemd units
psplash is only expected to run during startup, but if any dependency is pulled into a transaction and the unit is inactive, then it can be restarted. Set RemainAfterExit to ensure that the unit remains active and is not gratuitously restarted. Drop the nonexistent systemd-start.service from the unit. (From OE-Core rev: 618bd9a10c27d13a4420638d82618ac41935cfda) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4bf1c0401a
commit
ce987c6ae8
@@ -6,6 +6,7 @@ RequiresMountsFor=/run
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/bin/psplash
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
[Unit]
|
||||
Description=Start psplash-systemd progress communication helper
|
||||
DefaultDependencies=no
|
||||
After=systemd-start.service
|
||||
After=psplash-start.service
|
||||
Requires=psplash-start.service
|
||||
RequiresMountsFor=/run
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/psplash-systemd
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
|
||||
Reference in New Issue
Block a user