mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +03:00
9fd32ff7d3
This reverts the second part of8125e8d38e
. The first part was reverted in750e550eba
. The problem starts when s-v-s.s is pulled in by something that is then pulled in by sysinit.target. Every time a unit is started, systemd recursively checks all dependencies, and since sysinit.target is pull in by almost anything, we'll start s-v-s.s over and over. In particular, plymouth-start.service currently has Wants=s-v-s.s and After=s-v-s.s.
21 lines
642 B
SYSTEMD
21 lines
642 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1+
|
|
#
|
|
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# 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
|
|
Before=initrd-switch-root.target shutdown.target
|
|
ConditionPathExists=/dev/tty0
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=@rootlibexecdir@/systemd-vconsole-setup
|