From 7e832da790d6271bac3b7739e3854e92e0d4bc39 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 1 Oct 2019 14:08:04 +0000 Subject: [PATCH] systemd/cpi.service: Add RemainAfterExit=yes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Noticed this while looking at the unit file for a different RHEL CoreOS issue. See https://github.com/ostreedev/ostree/pull/1697 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750683 Omitting this can cause the service to run multiple times if something else ends up depending on it, which I'm guessing we don't want. Closes: https://github.com/ibm-s390-tools/s390-tools/pull/72 Signed-off-by: Colin Walters Signed-off-by: Jan Höppner --- systemd/cpi.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/cpi.service.in b/systemd/cpi.service.in index 7ce2e7cf..3c961c74 100644 --- a/systemd/cpi.service.in +++ b/systemd/cpi.service.in @@ -15,6 +15,7 @@ ConditionPathIsReadWrite=/sys/firmware/cpi [Service] Type=oneshot +RemainAfterExit=yes # # Specify a file with the environment variables using the EnvironmentFile= # service property.