]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-vconsole-setup.service.in
man/systemd-vconsole-setup: improve markup
[thirdparty/systemd.git] / units / systemd-vconsole-setup.service.in
CommitLineData
db9ecf05 1# SPDX-License-Identifier: LGPL-2.1-or-later
a7df2d1e 2#
97c4a07d
LP
3# This file is part of systemd.
4#
5# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
97c4a07d
LP
8# (at your option) any later version.
9
10[Unit]
3b2321f6 11Description=Virtual Console Setup
4aa6e778 12Documentation=man:systemd-vconsole-setup.service(8) man:vconsole.conf(5)
4e66876d
ZJS
13
14ConditionPathExists=/dev/tty0
15
97c4a07d 16DefaultDependencies=no
a6f3a7eb 17Before=sysinit.target
750e550e 18Before=initrd-switch-root.target shutdown.target
97c4a07d
LP
19
20[Service]
21Type=oneshot
8623dab8
ZJS
22# This service will be restarted by udev whenever a new vtcon device appears.
23# If the previous instance is still running, it shall be interrupted without
24# error.
25SuccessExitStatus=SIGTERM
9fd32ff7 26RemainAfterExit=yes
8623dab8 27
b0d3095f 28ExecStart={{LIBEXECDIR}}/systemd-vconsole-setup
8623dab8 29
1ab6ae19 30ImportCredential=vconsole.*