]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
systemd: add two more files 0.8.6
authorRay Strode <rstrode@redhat.com>
Mon, 9 Jul 2012 15:59:59 +0000 (11:59 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 9 Jul 2012 15:59:59 +0000 (11:59 -0400)
When plymouth service files were moved from systemd to plymouth
two files got lost in the shuffle.

This commit adds them.

http://bugzilla.freedesktop.org/51573

configure.ac
systemd-units/Makefile.am
systemd-units/systemd-ask-password-plymouth.path.in [new file with mode: 0644]
systemd-units/systemd-ask-password-plymouth.service.in [new file with mode: 0644]

index 845f22b6d5e56c3c008fbeac311a2f40be9e39ac..c96fbfe534a6b0bebd90c8bfe8e3c61187dcc559 100644 (file)
@@ -464,6 +464,8 @@ AC_CONFIG_FILES([Makefile
            systemd-units/plymouth-read-write.service
            systemd-units/plymouth-reboot.service
            systemd-units/plymouth-start.service
+           systemd-units/systemd-ask-password-plymouth.path
+           systemd-units/systemd-ask-password-plymouth.service
            systemd-units/Makefile
            docs/Makefile
 ])
index bb1c8a99f9bbbb30dc22da9f6c2d383efe261c28..16d132ce6420262226d7f6529be31a3c9443b4db 100644 (file)
@@ -6,7 +6,9 @@ systemd_unit_templates =                                                     \
         plymouth-reboot.service.in                                           \
         plymouth-kexec.service.in                                            \
         plymouth-poweroff.service.in                                         \
-        plymouth-halt.service.in
+        plymouth-halt.service.in                                             \
+        systemd-ask-password-plymouth.path.in                                \
+        systemd-ask-password-plymouth.service.in
 
 if ENABLE_SYSTEMD_INTEGRATION
 systemdunitdir=$(SYSTEMD_UNIT_DIR)
diff --git a/systemd-units/systemd-ask-password-plymouth.path.in b/systemd-units/systemd-ask-password-plymouth.path.in
new file mode 100644 (file)
index 0000000..c2ee420
--- /dev/null
@@ -0,0 +1,13 @@
+[Unit]
+Description=Forward Password Requests to Plymouth Directory Watch
+Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=plymouth-start.service
+Before=basic.target shutdown.target
+ConditionKernelCommandLine=!plymouth.enable=0
+ConditionPathExists=/run/plymouth/pid
+
+[Path]
+DirectoryNotEmpty=/run/systemd/ask-password
+MakeDirectory=yes
diff --git a/systemd-units/systemd-ask-password-plymouth.service.in b/systemd-units/systemd-ask-password-plymouth.service.in
new file mode 100644 (file)
index 0000000..aa9ffc2
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=Forward Password Requests to Plymouth
+Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=plymouth-start.service
+Before=shutdown.target
+ConditionKernelCommandLine=!plymouth.enable=0
+ConditionPathExists=/run/plymouth/pid
+
+[Service]
+ExecStart=/bin/systemd-tty-ask-password-agent --watch --plymouth