systemd-sysv-generator(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | NOTES | COLOPHON

SYSTEMD-SYSV-GENERATOR(8)systemd-sysv-generatorSYSTEMD-SYSV-GENERATOR(8)

NAME         top

       systemd-sysv-generator - Unit generator for SysV init scripts

SYNOPSIS         top

       /usr/lib/systemd/system-generators/systemd-sysv-generator

DESCRIPTION         top

       systemd-sysv-generator is a generator that creates wrapper
       .service units for SysV init[1] scripts in /etc/init.d/* at boot
       and when configuration of the system manager is reloaded. This
       allows systemd(1) to support them similarly to native units.

       LSB headers[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 systemd.special(7) for more details.

       Note that compatibility is quite comprehensive but not 100%, for
       more details see Incompatibilities with SysV[3].

       SysV runlevels have corresponding systemd targets
       (runlevelX.target). The wrapper unit that is generated will be
       wanted by those targets which correspond to runlevels for which
       the script is enabled.

       systemd does not support SysV scripts as part of early boot, so
       all wrapper units are ordered after basic.target.

       systemd-sysv-generator implements systemd.generator(7).

SEE ALSO         top

       systemd(1), systemd.service(5), systemd.target(5)

NOTES         top

        1. SysV init
           https://savannah.nongnu.org/projects/sysvinit

        2. LSB headers
           http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

        3. Incompatibilities with SysV
           https://www.freedesktop.org/wiki/Software/systemd/Incompatibilities

COLOPHON         top

       This page is part of the systemd (systemd system and service
       manager) project.  Information about the project can be found at
       ⟨http://www.freedesktop.org/wiki/Software/systemd⟩.  If you have
       a bug report for this manual page, see
       ⟨http://www.freedesktop.org/wiki/Software/systemd/#bugreports⟩.
       This page was obtained from the project's upstream Git repository
       ⟨https://github.com/systemd/systemd.git⟩ on 2023-06-23.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2023-06-23.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

systemd 253                                    SYSTEMD-SYSV-GENERATOR(8)

Pages that refer to this page: systemd.service(5)systemd.directives(7)systemd.generator(7)systemd.index(7)