Files
bare-operating-system/packages/bare-os-coreutils/man/pages/systemctl.json
T
2026-04-03 18:24:15 -04:00

56 lines
1.5 KiB
JSON

{
"name": "systemctl",
"section": 1,
"title": "bare-initd service control (systemd-like subset)",
"synopsis": [
"systemctl list|list-units",
"systemctl status [UNIT] [--lines N]",
"systemctl logs UNIT [--lines N]",
"systemctl start|stop|restart UNIT",
"journalctl -u UNIT [--lines N]"
],
"description": "Lists and manages session-scoped bare-initd units (kernel-logger, bare-cron, …). Implemented by the booter (kernel-runner); /bin stubs exist for PATH and man(1). Units are not persistent: there is no enable/disable. Logs live under /var/log/bare-os/ when the unit defines a logPath. The legacy name bare-initctl is still accepted by the booter 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"
}
]
}