From: Lennart Poettering Date: Tue, 16 Nov 2010 00:51:57 +0000 (+0100) Subject: units: allow start-up of plymouth ask-password agent very early X-Git-Tag: v12~10 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=f2a29e51f21f446c8b6e53f60c72bedf5b8b4e25;ds=sidebyside units: allow start-up of plymouth ask-password agent very early --- diff --git a/units/systemd-ask-password-plymouth.path b/units/systemd-ask-password-plymouth.path index 827f1385e..8e5e51290 100644 --- a/units/systemd-ask-password-plymouth.path +++ b/units/systemd-ask-password-plymouth.path @@ -8,6 +8,8 @@ [Unit] Description=Forward Password Requests to Plymouth Directory Watch DefaultDependencies=no +Conflicts=shutdown.target +Before=basic.target shutdown.target [Path] DirectoryNotEmpty=/dev/.systemd/ask-password diff --git a/units/systemd-ask-password-plymouth.service.in b/units/systemd-ask-password-plymouth.service.in index 3cd9b7fe7..8ed22ac65 100644 --- a/units/systemd-ask-password-plymouth.service.in +++ b/units/systemd-ask-password-plymouth.service.in @@ -7,6 +7,9 @@ [Unit] Description=Forward Password Requests to Plymouth +DefaultDependencies=no +Conflicts=shutdown.target +Before=shutdown.target [Service] ExecStart=@rootbindir@/systemd-tty-ask-password-agent --watch --plymouth diff --git a/units/systemd-ask-password-wall.path b/units/systemd-ask-password-wall.path index d7a9e3c4b..9c4b1d3d2 100644 --- a/units/systemd-ask-password-wall.path +++ b/units/systemd-ask-password-wall.path @@ -8,6 +8,8 @@ [Unit] Description=Forward Password Requests to Wall Directory Watch DefaultDependencies=no +Conflicts=shutdown.target +Before=basic.target shutdown.target [Path] DirectoryNotEmpty=/dev/.systemd/ask-password