blob: 198a8a197204f2c3eac55deff86c5d765ebeefc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
'\" t
.TH "SYSTEMD\-SYSV\-GENERATOR" "8" "" "systemd 256~rc3" "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
\fINote: this component is deprecated and scheduled for removal\&. Please replace remaining SysV init scripts with native unit files\&.\fR
.PP
systemd\-sysv\-generator
is a generator that creates wrapper \&.service units for
\m[blue]\fBSystem V 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 allows
\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\&. The 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(7)
for more details\&.
.PP
Note that compatibility is quite comprehensive but not 100%, for more details see
\m[blue]\fBIncompatibilities with SysV\fR\m[]\&\s-2\u[3]\d\s+2\&.
.PP
SysV runlevels have corresponding systemd targets (runlevel\fIX\fR\&.target)\&. The 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 support SysV scripts as part of early boot, so all wrapper units are ordered after
basic\&.target\&.
.PP
systemd\-sysv\-generator
implements
\fBsystemd.generator\fR(7)\&.
.SH "SEE ALSO"
.PP
\fBsystemd\fR(1), \fBsystemd.service\fR(5), \fBsystemd.target\fR(5)
.SH "NOTES"
.IP " 1." 4
System V 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
Incompatibilities with SysV
.RS 4
\%https://www.freedesktop.org/wiki/Software/systemd/Incompatibilities
.RE
|