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

79 lines
2.7 KiB
Groff

'\" t
.TH "SYSTEMD\-SYSV\-GENERATOR" "8" "" "systemd 219" "systemd-sysv-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-sysv-generator \- Unit generator for SysV init scripts
.SH "SYNOPSIS"
.PP
/usr/lib/systemd/system\-generators/systemd\-sysv\-generator
.SH "DESCRIPTION"
.PP
systemd\-sysv\-generator
is a generator that creates wrapper \&.service units for
\m[blue]\fBSysV init\fR\m[]\&\s-2\u[1]\d\s+2
scripts in
/etc/init\&.d/*
at boot and when configuration of the system manager is reloaded\&. This will allow
\fBsystemd\fR(1)
to support them similarly to native units\&.
.PP
\m[blue]\fBLSB headers\fR\m[]\&\s-2\u[2]\d\s+2
in SysV init scripts are interpreted, and the ordering specified in the header is turned into dependencies between the generated unit and other units\&. LSB facilities
"$remote_fs",
"$network",
"$named",
"$portmap",
"$time"
are supported and will be turned into dependencies on specific native systemd targets\&. See
\fBsystemd.special\fR(5)
for more details\&.
.PP
SysV runlevels have corresponding systemd targets (runlevel\fIX\fR\&.target)\&. Wrapper unit that is generated will be wanted by those targets which correspond to runlevels for which the script is enabled\&.
.PP
\fBsystemd\fR
does not supports SysV scripts as part of early boot, so all wrapper units are ordered after
basic\&.target\&.
.PP
systemd\-sysv\-generator
implements the
\m[blue]\fBgenerator specification\fR\m[]\&\s-2\u[3]\d\s+2\&.
.SH "SEE ALSO"
.PP
\fBsystemd\fR(1),
\fBsystemd.service\fR(5),
\fBsystemd.target\fR(5)
.SH "NOTES"
.IP " 1." 4
SysV init
.RS 4
\%https://savannah.nongnu.org/projects/sysvinit
.RE
.IP " 2." 4
LSB headers
.RS 4
\%http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
.RE
.IP " 3." 4
generator specification
.RS 4
\%http://www.freedesktop.org/wiki/Software/systemd/Generators
.RE