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=c113be578e6a25a15dbb56aa640c5fa7033ffbcd;hb=21dbe43aece5b6fc87860de175f067b56649e7d1;hpb=97c4a07df982ee967705022feaba9be33947abf0 diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in index c113be578..1420ce8f6 100644 --- a/units/systemd-vconsole-setup.service.in +++ b/units/systemd-vconsole-setup.service.in @@ -1,20 +1,19 @@ # 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=Setup Virtual Console DefaultDependencies=no Conflicts=shutdown.target -Before=shutdown.target +After=systemd-readahead-collect.service systemd-readahead-replay.service +Before=sysinit.target shutdown.target +ConditionPathExists=/dev/tty0 [Service] Type=oneshot RemainAfterExit=yes ExecStart=@rootlibexecdir@/systemd-vconsole-setup - -[Install] -WantedBy=sysinit.target