diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2020-03-26 08:54:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-29 12:05:31 +0100 |
commit | ce987c6ae867eb9b0850445d496fb01c5c6709af (patch) | |
tree | c4bd35df5d311d06161229ddf941e9c03fd26d5d /meta/recipes-core/psplash/files/psplash-systemd.service | |
parent | 4bf1c0401accbd0507794093f0d02640306029f0 (diff) | |
download | poky-ce987c6ae867eb9b0850445d496fb01c5c6709af.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core/psplash/files/psplash-systemd.service')
-rw-r--r-- | meta/recipes-core/psplash/files/psplash-systemd.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/psplash/files/psplash-systemd.service b/meta/recipes-core/psplash/files/psplash-systemd.service index 4e18980bb2..082207f232 100644 --- a/meta/recipes-core/psplash/files/psplash-systemd.service +++ b/meta/recipes-core/psplash/files/psplash-systemd.service | |||
@@ -1,13 +1,13 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Start psplash-systemd progress communication helper | 2 | Description=Start psplash-systemd progress communication helper |
3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
4 | After=systemd-start.service | ||
5 | After=psplash-start.service | 4 | After=psplash-start.service |
6 | Requires=psplash-start.service | 5 | Requires=psplash-start.service |
7 | RequiresMountsFor=/run | 6 | RequiresMountsFor=/run |
8 | 7 | ||
9 | [Service] | 8 | [Service] |
10 | ExecStart=/usr/bin/psplash-systemd | 9 | ExecStart=/usr/bin/psplash-systemd |
10 | RemainAfterExit=yes | ||
11 | 11 | ||
12 | [Install] | 12 | [Install] |
13 | WantedBy=sysinit.target | 13 | WantedBy=sysinit.target |