This commit is contained in:
Raven Scott
2026-04-03 19:54:49 -04:00
parent 4dfee8398b
commit eb6e8260cf
19 changed files with 302 additions and 39 deletions
@@ -7,9 +7,12 @@
"systemctl status [UNIT] [--lines N]",
"systemctl logs UNIT [--lines N]",
"systemctl start|stop|restart UNIT",
"systemctl enable|disable UNIT",
"systemctl is-enabled UNIT",
"systemctl is-active 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.",
"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). enable/disable toggle the personal-drive preset file ~/.config/bare-os/initd/disabled.txt for future boots in the same image. is-enabled reports enabled or disabled; is-active reports active vs inactive from runtime phase (exit 0 vs 3). 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",