summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-16 01:51:57 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-16 01:51:57 +0100
commitf2a29e51f21f446c8b6e53f60c72bedf5b8b4e25 (patch)
tree4ec32dadc0182399921e5a16a463298cefe56845 /units
parent74c84e715a44e25a962337110ac369c4f0ec0dbf (diff)
units: allow start-up of plymouth ask-password agent very early
Diffstat (limited to 'units')
-rw-r--r--units/systemd-ask-password-plymouth.path2
-rw-r--r--units/systemd-ask-password-plymouth.service.in3
-rw-r--r--units/systemd-ask-password-wall.path2
3 files changed, 7 insertions, 0 deletions
diff --git a/units/systemd-ask-password-plymouth.path b/units/systemd-ask-password-plymouth.path
index 827f1385e8..8e5e51290d 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 3cd9b7fe77..8ed22ac651 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 d7a9e3c4bc..9c4b1d3d24 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