]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-vconsole-setup.service.xml
creds: Add ImportCredential=
[thirdparty/systemd.git] / man / systemd-vconsole-setup.service.xml
CommitLineData
4aa6e778
LP
1<?xml version="1.0"?>
2<!--*-nxml-*-->
3a54a157
ZJS
3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
db9ecf05 5<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
56ba3c78 6<refentry id="systemd-vconsole-setup.service" conditional='ENABLE_VCONSOLE'>
4aa6e778 7
798d3a52
ZJS
8 <refentryinfo>
9 <title>systemd-vconsole-setup.service</title>
10 <productname>systemd</productname>
798d3a52
ZJS
11 </refentryinfo>
12
13 <refmeta>
14 <refentrytitle>systemd-vconsole-setup.service</refentrytitle>
15 <manvolnum>8</manvolnum>
16 </refmeta>
17
18 <refnamediv>
19 <refname>systemd-vconsole-setup.service</refname>
20 <refname>systemd-vconsole-setup</refname>
808b95ef 21 <refpurpose>Configure the virtual consoles</refpurpose>
798d3a52
ZJS
22 </refnamediv>
23
24 <refsynopsisdiv>
25 <para><filename>systemd-vconsole-setup.service</filename></para>
808b95ef
MS
26 <cmdsynopsis>
27 <command>/usr/lib/systemd/systemd-vconsole-setup</command>
28 <arg choice="opt">TTY</arg>
29 </cmdsynopsis>
798d3a52
ZJS
30 </refsynopsisdiv>
31
32 <refsect1>
33 <title>Description</title>
34
49b625ed 35 <para><filename>systemd-vconsole-setup</filename> sets up and configures either all virtual consoles, or — if the
651dcdd6 36 optional <replaceable>TTY</replaceable> parameter is provided — a specific one. When the system is booting up, it's
49b625ed
LP
37 called by <citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry> during
38 VT console subsystem initialization. Also,
39 <citerefentry><refentrytitle>systemd-localed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> invokes
40 it as needed when language or console changes are made. Internally, this program calls <citerefentry
41 project='mankier'><refentrytitle>loadkeys</refentrytitle><manvolnum>1</manvolnum></citerefentry> and <citerefentry
42 project='die-net'><refentrytitle>setfont</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
808b95ef
MS
43 </para>
44
49b625ed
LP
45 <para>Execute <command>systemctl restart systemd-vconsole-setup.service</command> in order to apply any manual
46 changes made to <filename>/etc/vconsole.conf</filename>.</para>
798d3a52 47
49b625ed
LP
48 <para>See <citerefentry><refentrytitle>vconsole.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
49 information about the configuration files and kernel command line options understood by this program.</para>
798d3a52
ZJS
50 </refsect1>
51
ea575e17
LP
52 <refsect1>
53 <title>Credentials</title>
54
55 <para><command>systemd-vconsole-setup</command> supports the service credentials logic as implemented by
bbfb25f4
DDM
56 <varname>ImportCredential=</varname><varname>LoadCredential=</varname>/<varname>SetCredential=</varname>
57 (see <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>1</manvolnum></citerefentry> for
ea575e17
LP
58 details). The following credentials are used when passed in:</para>
59
60 <variablelist>
61 <varlistentry>
62 <term><varname>vconsole.keymap</varname></term>
63 <term><varname>vconsole.keymap_toggle</varname></term>
64
65 <listitem><para>The keymap (and toggle keymap) to apply. The matching options in
66 <filename>vconsole.conf</filename> and on the kernel command line take precedence over these
67 credentials.</para>
68
69 <para>Note the relationship to the <varname>firstboot.keymap</varname> credential understood by
70 <citerefentry><refentrytitle>systemd-firstboot.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>:
71 both ultimately affect the same setting, but <varname>firstboot.keymap</varname> is written into
72 <filename>/etc/vconsole.conf</filename> on first boot (if not already configured), and then read from
73 there by <command>systemd-vconsole-setup</command>, while <varname>vconsole.keymap</varname> is read
74 on every boot, and is not persisted to disk (but any configuration in
75 <filename>vconsole.conf</filename> will take precedence if present).</para></listitem>
76 </varlistentry>
77
78 <varlistentry>
79 <term><varname>vconsole.font</varname></term>
80 <term><varname>vconsole.font_map</varname></term>
81 <term><varname>vconsole.font_unimap</varname></term>
82
83 <listitem><para>The console font settings to apply. The matching options in
84 <filename>vconsole.conf</filename> and on the kernel command line take precedence over these
85 credentials.</para></listitem>
86 </varlistentry>
87 </variablelist>
88 </refsect1>
89
798d3a52
ZJS
90 <refsect1>
91 <title>See Also</title>
92 <para>
93 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
94 <citerefentry><refentrytitle>vconsole.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
3ba3a79d
ZJS
95 <citerefentry project='mankier'><refentrytitle>loadkeys</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
96 <citerefentry project='die-net'><refentrytitle>setfont</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
798d3a52
ZJS
97 <citerefentry><refentrytitle>systemd-localed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
98 </para>
99 </refsect1>
4aa6e778
LP
100
101</refentry>