| 1 |
'\" t |
| 2 |
.TH "SYSTEMD\-SYSV\-GENERATOR" "8" "" "systemd 257.13" "systemd-sysv-generator" |
| 3 |
.\" ----------------------------------------------------------------- |
| 4 |
.\" * Define some portability stuff |
| 5 |
.\" ----------------------------------------------------------------- |
| 6 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 7 |
.\" http://bugs.debian.org/507673 |
| 8 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 9 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 10 |
.ie \n(.g .ds Aq \(aq |
| 11 |
.el .ds Aq ' |
| 12 |
.\" ----------------------------------------------------------------- |
| 13 |
.\" * set default formatting |
| 14 |
.\" ----------------------------------------------------------------- |
| 15 |
.\" disable hyphenation |
| 16 |
.nh |
| 17 |
.\" disable justification (adjust text to left margin only) |
| 18 |
.ad l |
| 19 |
.\" ----------------------------------------------------------------- |
| 20 |
.\" * MAIN CONTENT STARTS HERE * |
| 21 |
.\" ----------------------------------------------------------------- |
| 22 |
.SH "NAME" |
| 23 |
systemd-sysv-generator \- Unit generator for SysV init scripts |
| 24 |
.SH "SYNOPSIS" |
| 25 |
.PP |
| 26 |
/usr/lib/systemd/system\-generators/systemd\-sysv\-generator |
| 27 |
.SH "DESCRIPTION" |
| 28 |
.PP |
| 29 |
\fINote: this component is deprecated and scheduled for removal\&. Please replace remaining SysV init scripts with native unit files\&.\fR |
| 30 |
.PP |
| 31 |
systemd\-sysv\-generator |
| 32 |
is a generator that creates wrapper \&.service units for |
| 33 |
\m[blue]\fBSystem V init\fR\m[]\&\s-2\u[1]\d\s+2 |
| 34 |
scripts in |
| 35 |
/etc/init\&.d/* |
| 36 |
at boot and when configuration of the system manager is reloaded\&. This allows |
| 37 |
\fBsystemd\fR(1) |
| 38 |
to support them similarly to native units\&. |
| 39 |
.PP |
| 40 |
\m[blue]\fBLSB headers\fR\m[]\&\s-2\u[2]\d\s+2 |
| 41 |
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 |
| 42 |
"$remote_fs", |
| 43 |
"$network", |
| 44 |
"$named", |
| 45 |
"$portmap", |
| 46 |
"$time" |
| 47 |
are supported and will be turned into dependencies on specific native systemd targets\&. See |
| 48 |
\fBsystemd.special\fR(7) |
| 49 |
for more details\&. |
| 50 |
.PP |
| 51 |
Note that compatibility is quite comprehensive but not 100%, for more details see |
| 52 |
\m[blue]\fBCompatibility with SysV\fR\m[]\&\s-2\u[3]\d\s+2\&. |
| 53 |
.PP |
| 54 |
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\&. |
| 55 |
.PP |
| 56 |
\fBsystemd\fR |
| 57 |
does not support SysV scripts as part of early boot, so all wrapper units are ordered after |
| 58 |
basic\&.target\&. |
| 59 |
.PP |
| 60 |
systemd\-sysv\-generator |
| 61 |
implements |
| 62 |
\fBsystemd.generator\fR(7)\&. |
| 63 |
.SH "SEE ALSO" |
| 64 |
.PP |
| 65 |
\fBsystemd\fR(1), \fBsystemd.service\fR(5), \fBsystemd.target\fR(5) |
| 66 |
.SH "NOTES" |
| 67 |
.IP " 1." 4 |
| 68 |
System V init |
| 69 |
.RS 4 |
| 70 |
\%https://savannah.nongnu.org/projects/sysvinit |
| 71 |
.RE |
| 72 |
.IP " 2." 4 |
| 73 |
LSB headers |
| 74 |
.RS 4 |
| 75 |
\%http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html |
| 76 |
.RE |
| 77 |
.IP " 3." 4 |
| 78 |
Compatibility with SysV |
| 79 |
.RS 4 |
| 80 |
\%https://systemd.io/INCOMPATIBILITIES |
| 81 |
.RE |