{
    "content": [
        {
            "type": "text",
            "text": "# SYSTEMD-RC-LOCAL-GENERATOR (info)\n\n## NAME\n\nsystemd-rc-local-generator, rc-local.service - Compatibility generator and service to start /etc/rc.local during boot\n\n## SYNOPSIS\n\n/lib/systemd/system-generators/systemd-rc-local-generator\nrc-local.service\n\n## DESCRIPTION\n\nsystemd-rc-local-generator is a generator that checks whether\n/etc/rc.local exists and is executable, and if it is, pulls the\nrc-local.service unit into the boot process. This unit is responsible\nfor running this script during late boot. The script is run after\nnetwork.target, but in parallel with most other regular system\nservices.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "SYSTEMD-RC-LOCAL-GENERATOR",
        "section": "",
        "mode": "info",
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 31,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "systemd-rc-local-generator, rc-local.service - Compatibility generator\nand service to start /etc/rc.local during boot\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "/lib/systemd/system-generators/systemd-rc-local-generator\n\nrc-local.service\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "systemd-rc-local-generator is a generator that checks whether\n/etc/rc.local exists and is executable, and if it is, pulls the\nrc-local.service unit into the boot process. This unit is responsible\nfor running this script during late boot. The script is run after\nnetwork.target, but in parallel with most other regular system\nservices.\n\nNote that rc-local.service runs with slightly different semantics than\nthe original System V version, which was executed \"last\" in the boot\nprocess, which is a concept that does not translate to systemd.\n\nAlso note that rc-local.service is ordered after network.target, which\ndoes not mean that the network is functional, see systemd.special(7).\nIf the script requires a configured network connection, it may be\ndesirable 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\nSystem V systems only. However, it is strongly recommended to avoid\nmaking use of this script today, and instead provide proper unit files\nwith appropriate dependencies for any scripts to run during the boot\nprocess. Note that the path to the script is set at compile time and\nvaries between distributions.\n\nsystemd-rc-local-generator implements systemd.generator(7).\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "systemd(1), systemctl(1)\n\nsystemd 249                                      SYSTEMD-RC-LOCAL-GENERATOR(8)",
                "subsections": []
            }
        }
    }
}