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 <hdegoede@redhat.com>
This commit is contained in:
Hans de Goede 2019-10-13 16:39:22 +02:00
parent a28d7aa55d
commit e0af56113a

View 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