Services tab: systemd unit list/filter, detail with start/stop/restart/reload/enable/disable, live journal tail over WS, unit file viewer

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Mitchell-Johnson
2026-09-17 15:35:03 -07:00
co-authored by Claude Fable 5.1
parent cd3979efce
commit bc891b1042
7 changed files with 706 additions and 8 deletions
+2 -1
View File
@@ -22,6 +22,7 @@ import (
"hamlab/internal/auth"
"hamlab/internal/config"
"hamlab/internal/metrics"
"hamlab/internal/services"
"hamlab/internal/store"
hterm "hamlab/internal/term"
"hamlab/internal/web"
@@ -141,7 +142,7 @@ func serve(cfg *config.Config) error {
col := metrics.NewCollector()
go col.Run(context.Background())
srv := api.New(cfg, sessions, mgr, col, st, web.FS(), version)
srv := api.New(cfg, sessions, mgr, col, st, services.New(), web.FS(), version)
hs := &http.Server{
Addr: cfg.Listen,
Handler: srv.Handler(),