1SYSTEMD-SYSV-GENERATOR(8) systemd-sysv-generator SYSTEMD-SYSV-GENERATOR(8)
2
3
4
6 systemd-sysv-generator - Unit generator for SysV init scripts
7
9 /usr/lib/systemd/system-generators/systemd-sysv-generator
10
12 Note: this component is deprecated and scheduled for removal. Please
13 replace remaining SysV init scripts with native unit files.
14
15 systemd-sysv-generator is a generator that creates wrapper .service
16 units for System V init[1] scripts in /etc/init.d/* at boot and when
17 configuration of the system manager is reloaded. This allows systemd(1)
18 to support them similarly to native units.
19
20 LSB headers[2] in SysV init scripts are interpreted, and the ordering
21 specified in the header is turned into dependencies between the
22 generated unit and other units. The LSB facilities "$remote_fs",
23 "$network", "$named", "$portmap", "$time" are supported and will be
24 turned into dependencies on specific native systemd targets. See
25 systemd.special(7) for more details.
26
27 Note that compatibility is quite comprehensive but not 100%, for more
28 details see Incompatibilities with SysV[3].
29
30 SysV runlevels have corresponding systemd targets (runlevelX.target).
31 The wrapper unit that is generated will be wanted by those targets
32 which correspond to runlevels for which the script is enabled.
33
34 systemd does not support SysV scripts as part of early boot, so all
35 wrapper units are ordered after basic.target.
36
37 systemd-sysv-generator implements systemd.generator(7).
38
40 systemd(1), systemd.service(5), systemd.target(5)
41
43 1. System V init
44 https://savannah.nongnu.org/projects/sysvinit
45
46 2. LSB headers
47 http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
48
49 3. Incompatibilities with SysV
50 https://www.freedesktop.org/wiki/Software/systemd/Incompatibilities
51
52
53
54systemd 254 SYSTEMD-SYSV-GENERATOR(8)