X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-vconsole-setup.service.in;h=1420ce8f62753d1ce7d68bfb2b93312cd33ef026;hp=19760a906e7c439d09b76a9b11cf42a1d60c3c50;hb=ff644623750b4f672a79cab6cc52e8681e55a044;hpb=52f319b29398d36ed8d1a70f68a170c0a85f401d diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in index 19760a906..1420ce8f6 100644 --- a/units/systemd-vconsole-setup.service.in +++ b/units/systemd-vconsole-setup.service.in @@ -1,8 +1,8 @@ # 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] @@ -10,10 +10,10 @@ Description=Setup Virtual Console DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service -Before=basic.target shutdown.target +Before=sysinit.target shutdown.target +ConditionPathExists=/dev/tty0 [Service] Type=oneshot RemainAfterExit=yes ExecStart=@rootlibexecdir@/systemd-vconsole-setup -StandardOutput=syslog