]>
Commit | Line | Data |
---|---|---|
f685b702 LP |
1 | <?xml version="1.0"?> |
2 | <!--*-nxml-*--> | |
12b42c76 | 3 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> |
f685b702 | 4 | <!-- |
572eb058 | 5 | SPDX-License-Identifier: LGPL-2.1+ |
f685b702 LP |
6 | --> |
7 | <refentry id="systemd-debug-generator"> | |
8 | ||
798d3a52 ZJS |
9 | <refentryinfo> |
10 | <title>systemd-debug-generator</title> | |
11 | <productname>systemd</productname> | |
12 | ||
13 | <authorgroup> | |
14 | <author> | |
15 | <contrib>Developer</contrib> | |
16 | <firstname>Lennart</firstname> | |
17 | <surname>Poettering</surname> | |
18 | <email>lennart@poettering.net</email> | |
19 | </author> | |
20 | </authorgroup> | |
21 | </refentryinfo> | |
22 | ||
23 | <refmeta> | |
24 | <refentrytitle>systemd-debug-generator</refentrytitle> | |
25 | <manvolnum>8</manvolnum> | |
26 | </refmeta> | |
27 | ||
28 | <refnamediv> | |
29 | <refname>systemd-debug-generator</refname> | |
30 | <refpurpose>Generator for enabling a runtime debug shell and | |
31 | masking specific units at boot</refpurpose> | |
32 | </refnamediv> | |
33 | ||
34 | <refsynopsisdiv> | |
12b42c76 | 35 | <para><filename>/usr/lib/systemd/system-generators/systemd-debug-generator</filename></para> |
798d3a52 ZJS |
36 | </refsynopsisdiv> |
37 | ||
38 | <refsect1> | |
39 | <title>Description</title> | |
40 | ||
41 | <para><filename>systemd-debug-generator</filename> is a generator | |
42 | that reads the kernel command line and understands three | |
43 | options:</para> | |
44 | ||
45 | <para>If the <option>systemd.mask=</option> option is specified | |
46 | and followed by a unit name, this unit is masked for the runtime, | |
47 | similar to the effect of | |
48 | <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s | |
49 | <command>mask</command> command. This is useful to boot with | |
50 | certain units removed from the initial boot transaction for | |
51 | debugging system startup. May be specified more than once.</para> | |
52 | ||
53 | <para>If the <option>systemd.wants=</option> option is specified | |
54 | and followed by a unit name, a start job for this unit is added to | |
55 | the initial transaction. This is useful to start one or more | |
56 | additional units at boot. May be specified more than once.</para> | |
57 | ||
1d84ad94 | 58 | <para>If the <option>systemd.debug_shell</option> option is |
798d3a52 ZJS |
59 | specified, the debug shell service |
60 | <literal>debug-shell.service</literal> is pulled into the boot | |
61 | transaction. It will spawn a debug shell on tty9 during early | |
62 | system startup. Note that the shell may also be turned on | |
63 | persistently by enabling it with | |
64 | <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s | |
65 | <command>enable</command> command.</para> | |
66 | ||
b1c1a519 ZC |
67 | <para><filename>systemd-debug-generator</filename> implements |
68 | <citerefentry><refentrytitle>systemd.generator</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para> | |
798d3a52 ZJS |
69 | </refsect1> |
70 | ||
71 | <refsect1> | |
72 | <title>See Also</title> | |
73 | <para> | |
74 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
75 | <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
76 | <citerefentry><refentrytitle>kernel-command-line</refentrytitle><manvolnum>7</manvolnum></citerefentry> | |
77 | </para> | |
78 | </refsect1> | |
f685b702 LP |
79 | |
80 | </refentry> |