{ "name": "systemctl", "section": 1, "title": "bare-initd service control (systemd-like subset)", "synopsis": [ "systemctl list|list-units", "systemctl status [UNIT] [--lines N]", "systemctl show|cat UNIT", "systemctl is-failed UNIT", "systemctl reset-failed [UNIT]", "systemctl logs UNIT [--lines N]", "systemctl start|stop|restart UNIT", "systemctl enable|disable UNIT", "systemctl is-enabled UNIT", "systemctl is-active UNIT", "systemctl help", "journalctl -u UNIT [--lines N|-n N]" ], "description": "Lists and manages session-scoped bare-initd units (kernel-logger, bare-cron, …). Implemented by packages/bare-os-booter/lib/systemctl-cli.js (kernel-runner); /bin stubs exist for PATH and man(1). Verbs match --help: show/cat dump unit fields; is-failed; reset-failed (logical no-op on stock initd); enable/disable toggle ~/.config/bare-os/initd/disabled.txt; is-enabled / is-active; logs and status accept --lines. journalctl supports -u, --lines, -n. The legacy name bare-initctl is still accepted as an alias.", "options": [ { "flag": "--lines N", "meaning": "Tail N lines from the unit log (status, logs, journalctl)" } ], "aliases": [ "bare-initctl" ], "keywords": [ "bare-initd", "initctl", "service", "supervisor", "cron", "systemd" ], "bareOsNotes": "journalctl only supports -u UNIT and optional --lines / -n. Unknown systemd verbs are not implemented.", "seeAlso": [ { "name": "crontab", "section": 1 }, { "name": "bare-os-shell", "section": 1 } ], "examples": [ { "caption": "list units", "code": "systemctl list-units" }, { "caption": "restart scheduler", "code": "systemctl restart bare-cron" }, { "caption": "tail cron errors", "code": "journalctl -u bare-cron --lines 20" } ] }