X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-vconsole-setup.service.in;h=6160361871e565a1ae858b02290ef49d18244660;hp=c113be578e6a25a15dbb56aa640c5fa7033ffbcd;hb=92ac127007335e804d7ae1b9439469a162089975;hpb=97c4a07df982ee967705022feaba9be33947abf0 diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in index c113be578..616036187 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 +Documentation=man:systemd-vconsole-setup.service(8) man:vconsole.conf(5) DefaultDependencies=no Conflicts=shutdown.target -Before=shutdown.target +Before=sysinit.target shutdown.target +ConditionPathExists=/dev/tty0 [Service] Type=oneshot RemainAfterExit=yes ExecStart=@rootlibexecdir@/systemd-vconsole-setup - -[Install] -WantedBy=sysinit.target