{
    "content": [
        {
            "type": "text",
            "text": "# systemd-rc-local-generator(8) (man)\n\n**Summary:** systemd-rc-local-generator, rc-local.service - Compatibility generator and service to start /etc/rc.local during boot\n\n**Synopsis:** /lib/systemd/system-generators/systemd-rc-local-generator\nrc-local.service\n\n## See Also\n\n- systemd(1)\n- systemctl(1)\n- SYSTEMD-RC-LOCAL-GENERATOR(8)\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **SYNOPSIS** (4 lines)\n- **DESCRIPTION** (27 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nsystemd-rc-local-generator, rc-local.service - Compatibility generator and service to start\n/etc/rc.local during boot\n\n### SYNOPSIS\n\n/lib/systemd/system-generators/systemd-rc-local-generator\n\nrc-local.service\n\n### DESCRIPTION\n\nsystemd-rc-local-generator is a generator that checks whether /etc/rc.local exists and is\nexecutable, and if it is, pulls the rc-local.service unit into the boot process. This unit is\nresponsible for running this script during late boot. The script is run after network.target,\nbut in parallel with most other regular system services.\n\nNote that rc-local.service runs with slightly different semantics than the original System V\nversion, which was executed \"last\" in the boot process, which is a concept that does not\ntranslate to systemd.\n\nAlso note that rc-local.service is ordered after network.target, which does not mean that the\nnetwork is functional, see systemd.special(7). If the script requires a configured network\nconnection, it may be desirable to pull in and order it after network-online.target with a\ndrop-in:\n\n# /etc/systemd/system/rc-local.service.d/network.conf\n[Unit]\nWants=network-online.target\nAfter=network-online.target\n\nSupport for /etc/rc.local is provided for compatibility with specific System V systems only.\nHowever, it is strongly recommended to avoid making use of this script today, and instead\nprovide proper unit files with appropriate dependencies for any scripts to run during the\nboot process. Note that the path to the script is set at compile time and varies between\ndistributions.\n\nsystemd-rc-local-generator implements systemd.generator(7).\n\n### SEE ALSO\n\nsystemd(1), systemctl(1)\n\n\n\nsystemd 249                                                            SYSTEMD-RC-LOCAL-GENERATOR(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "systemd-rc-local-generator",
        "section": "8",
        "mode": "man",
        "summary": "systemd-rc-local-generator, rc-local.service - Compatibility generator and service to start /etc/rc.local during boot",
        "synopsis": "/lib/systemd/system-generators/systemd-rc-local-generator\nrc-local.service",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "systemctl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemctl/1/json"
            },
            {
                "name": "SYSTEMD-RC-LOCAL-GENERATOR",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/SYSTEMD-RC-LOCAL-GENERATOR/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 27,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}