feat(systemd): unit overview + journal viewer pages
- Add journalctl_recent command and scrum4me-web to whitelist in commands.yml.example - Add SYSTEMD_UNITS env var to .env.example - lib/parse-systemd.ts: parse activeState, subState, uptime, description - /app/systemd: server page reading SYSTEMD_UNITS, client list with 10s polling and status badges - /app/systemd/[unit]: server detail page, client component showing systemctl status + last 100 journal lines (polling 10s) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9e08a7c31f
commit
c12e36e0a4
7 changed files with 523 additions and 1 deletions
|
|
@ -5,3 +5,5 @@ OPS_AGENT_SECRET="replace-with-contents-of-/etc/ops-agent/secret"
|
|||
OPS_AGENT_URL="http://127.0.0.1:3099"
|
||||
# Comma-separated list of absolute repo paths to show on the /git page
|
||||
REPO_PATHS="/srv/scrum4me/repos/scrum4me,/srv/ops/repos/ops-dashboard"
|
||||
# Comma-separated list of systemd unit names to show on the /systemd page (must match commands.yml allowed list)
|
||||
SYSTEMD_UNITS="scrum4me-web,ops-agent"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue