{
    "content": [
        {
            "type": "text",
            "text": "# deb-systemd-helper (man)\n\n## NAME\n\ndeb-systemd-helper - subset of systemctl for machines not running systemd\n\n## SYNOPSIS\n\ndeb-systemd-helper enable | disable | purge | mask | unmask | is-enabled | was-enabled |\ndebian-installed | update-state | reenable unit file ...\n\n## DESCRIPTION\n\ndeb-systemd-helper is a Debian-specific helper script which re-implements the enable,\ndisable, is-enabled and reenable commands from systemctl.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **ENVIRONMENT**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "deb-systemd-helper",
        "section": "",
        "mode": "man",
        "summary": "deb-systemd-helper - subset of systemctl for machines not running systemd",
        "synopsis": "deb-systemd-helper enable | disable | purge | mask | unmask | is-enabled | was-enabled |\ndebian-installed | update-state | reenable unit file ...",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 26,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "deb-systemd-helper - subset of systemctl for machines not running systemd\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "deb-systemd-helper enable | disable | purge | mask | unmask | is-enabled | was-enabled |\ndebian-installed | update-state | reenable unit file ...\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "deb-systemd-helper is a Debian-specific helper script which re-implements the enable,\ndisable, is-enabled and reenable commands from systemctl.\n\nThe \"enable\" action will only be performed once (when first installing the package). On the\nfirst \"enable\", a state file is created which will be deleted upon \"purge\".\n\nThe \"mask\" action will keep state on whether the service was enabled/disabled before and will\nproperly return to that state on \"unmask\".\n\nThe \"was-enabled\" action is not present in systemctl, but is required in Debian so that we\ncan figure out whether a service was enabled before we installed an updated service file. See\nhttp://bugs.debian.org/717603 for details.\n\nThe \"debian-installed\" action is also not present in systemctl. It returns 0 if the state\nfile of at least one of the given units is present.\n\nThe \"update-state\" action is also not present in systemctl. It updates deb-systemd-helper's\nstate file, removing obsolete entries (e.g. service files that are no longer shipped by the\npackage) and adding new entries (e.g.  new service files shipped by the package) without\nenabling them.\n\ndeb-systemd-helper is intended to be used from maintscripts to enable systemd unit files. It\nis specifically NOT intended to be used interactively by users. Instead, users should run\nsystemd and use systemctl, or not bother about the systemd enabled state in case they are not\nrunning systemd.\n",
                "subsections": []
            },
            "ENVIRONMENT": {
                "content": "DEBSYSTEMDHELPERDEBUG\nIf you export DEBSYSTEMDHELPERDEBUG=1, deb-systemd-helper will print debug messages\nto stderr (thus visible in dpkg runs). Please include these when filing a bugreport.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Michael Stapelberg <stapelberg@debian.org>\n\n\n\n1.62                                         2022-02-15                       DEB-SYSTEMD-HELPER(1p)",
                "subsections": []
            }
        }
    }
}