From e0af56113aedef84fb1ddd61269e98077adc1113 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 13 Oct 2019 16:39:22 +0200 Subject: [PATCH] systemd-ask-password-plymouth.service.in: Do not hardcode /run path to pid file Use @plymouthruntimedir@/pid in systemd-ask-password-plymouth.service.in so that the way the path to the pidfile is build there is identical to the way the --pidfile argument is build in plymouth-start.service.in. Fixes #26 Signed-off-by: Hans de Goede --- systemd-units/systemd-ask-password-plymouth.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd-units/systemd-ask-password-plymouth.service.in b/systemd-units/systemd-ask-password-plymouth.service.in index 242b7334..81980f01 100644 --- a/systemd-units/systemd-ask-password-plymouth.service.in +++ b/systemd-units/systemd-ask-password-plymouth.service.in @@ -7,7 +7,7 @@ After=plymouth-start.service Before=shutdown.target ConditionKernelCommandLine=!plymouth.enable=0 ConditionVirtualization=!container -ConditionPathExists=/run/plymouth/pid +ConditionPathExists=@plymouthruntimedir@/pid [Service] ExecStart=@SYSTEMD_ASK_PASSWORD_AGENT@ --watch --plymouth -- 2.47.3