chiark / gitweb /
units: start vconsole-setup only if there's actually a virtual console device
[elogind.git] / units / systemd-ask-password-console.path
index 9d3d80d5a9be937dcc0128952ad69d6879d6b075..dc8ab32bcb7b31eb0dd4ed9067e5cd0054e48e31 100644 (file)
@@ -1,15 +1,18 @@
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
-#  under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
 
 [Unit]
 Description=Dispatch Password Requests to Console Directory Watch
 DefaultDependencies=no
 Conflicts=shutdown.target
+After=plymouth-start.service
 Before=basic.target shutdown.target
+ConditionPathExists=!/run/plymouth/pid
 
 [Path]
-DirectoryNotEmpty=/dev/.systemd/ask-password
+DirectoryNotEmpty=/run/systemd/ask-password
+MakeDirectory=yes