X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-vconsole-setup.service.in;h=1420ce8f62753d1ce7d68bfb2b93312cd33ef026;hb=a48f3d156652cc241eb67fdf34041d1b7cdb71fb;hp=19760a906e7c439d09b76a9b11cf42a1d60c3c50;hpb=52f319b29398d36ed8d1a70f68a170c0a85f401d;p=elogind.git 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