]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
systemd-ask-password-plymouth.service.in: Do not hardcode /run path to pid file
authorHans de Goede <hdegoede@redhat.com>
Sun, 13 Oct 2019 14:39:22 +0000 (16:39 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sun, 13 Oct 2019 14:56:01 +0000 (16:56 +0200)
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 <hdegoede@redhat.com>
systemd-units/systemd-ask-password-plymouth.service.in

index 242b7334b4de3bf20ba346e63dbf483057736fbf..81980f01457fa914c642e9bc14f4523d7d572ac9 100644 (file)
@@ -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