systemd/man/systemd-debug-generator.8
2015-02-17 11:22:16 +01:00

66 lines
2.5 KiB
Groff

'\" t
.TH "SYSTEMD\-DEBUG\-GENERATOR" "8" "" "systemd 219" "systemd-debug-generator"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
systemd-debug-generator \- Generator for enabling a runtime debug shell and masking specific units at boot
.SH "SYNOPSIS"
.PP
/usr/lib/systemd/system\-generators/systemd\-debug\-generator
.SH "DESCRIPTION"
.PP
systemd\-debug\-generator
is a generator that reads the kernel command line and understands three options:
.PP
If the
\fBsystemd\&.mask=\fR
option is specified and followed by a unit name, this unit is masked for the runtime, similar to the effect of
\fBsystemctl\fR(1)\*(Aqs
\fBmask\fR
command\&. This is useful to boot with certain units removed from the initial boot transaction for debugging system startup\&. May be specified more than once\&.
.PP
If the
\fBsystemd\&.wants=\fR
option is specified and followed by a unit name, a start job for this unit is added to the initial transaction\&. This is useful to start one or more additional units at boot\&. May be specified more than once\&.
.PP
If the
\fBsystemd\&.debug\-shell\fR
option is specified, the debug shell service
"debug\-shell\&.service"
is pulled into the boot transaction\&. It will spawn a debug shell on tty9 during early system startup\&. Note that the shell may also be turned on persistently by enabling it with
\fBsystemctl\fR(1)\*(Aqs
\fBenable\fR
command\&.
.PP
systemd\-debug\-generator
implements the
\m[blue]\fBgenerator specification\fR\m[]\&\s-2\u[1]\d\s+2\&.
.SH "SEE ALSO"
.PP
\fBsystemd\fR(1),
\fBsystemctl\fR(1),
\fBkernel-command-line\fR(7)
.SH "NOTES"
.IP " 1." 4
generator specification
.RS 4
\%http://www.freedesktop.org/wiki/Software/systemd/Generators
.RE