{
    "mode": "man",
    "parameter": "systemd-sysv-generator",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/systemd-sysv-generator/8/json",
    "generated": "2026-06-02T21:26:39Z",
    "synopsis": "/lib/systemd/system-generators/systemd-sysv-generator",
    "sections": {
        "NAME": {
            "content": "systemd-sysv-generator - Unit generator for SysV init scripts\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "/lib/systemd/system-generators/systemd-sysv-generator\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "systemd-sysv-generator is a generator that creates wrapper .service units for SysV init[1]\nscripts in /etc/init.d/* at boot and when configuration of the system manager is reloaded.\nThis will allow systemd(1) to support them similarly to native units.\n\nLSB headers[2] in SysV init scripts are interpreted, and the ordering specified in the header\nis turned into dependencies between the generated unit and other units. The LSB facilities\n\"$remotefs\", \"$network\", \"$named\", \"$portmap\", \"$time\" are supported and will be turned into\ndependencies on specific native systemd targets. See systemd.special(7) for more details.\n\nSysV runlevels have corresponding systemd targets (runlevelX.target). The wrapper unit that\nis generated will be wanted by those targets which correspond to runlevels for which the\nscript is enabled.\n\nsystemd does not support SysV scripts as part of early boot, so all wrapper units are ordered\nafter basic.target.\n\nsystemd-sysv-generator implements systemd.generator(7).\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "systemd(1), systemd.service(5), systemd.target(5)\n",
            "subsections": []
        },
        "NOTES": {
            "content": "1. SysV init\nhttps://savannah.nongnu.org/projects/sysvinit\n\n2. LSB headers\nhttp://refspecs.linuxbase.org/LSB3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html\n\n\n\nsystemd 249                                                                SYSTEMD-SYSV-GENERATOR(8)",
            "subsections": []
        }
    },
    "summary": "systemd-sysv-generator - Unit generator for SysV init scripts",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "systemd",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
        },
        {
            "name": "systemd.service",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/systemd.service/5/json"
        },
        {
            "name": "systemd.target",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/systemd.target/5/json"
        }
    ]
}