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