Systemd Panel
@aaronge/systemd-panelv2026.08.27.2
01README
Enable, disable, and inspect the status of any systemd unit through swamp — one typed, versioned model instance per unit, with enablement, activation, and last-run outcome (parsed from journalctl for timers, from systemctl show for services) all in one place. Not tied to any particular workload or hardware.
02Models
@aaronge/systemd-panelv2026.08.27.2systemd_unit.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| unit | string | The systemd unit this instance controls — a ".timer" or ".service" |
| logUnit? | string | The unit whose journal carries this instance's actual run outcomes. |
| kind | enum | "service" for a persistent/long-running daemon (status comes from |
| label? | string | Human-readable name shown in status output. Defaults to `unit` when omitted. |
| useSudo | boolean | Prefix enable/disable's systemctl call with sudo. Set false if the |
| systemctlPath | string | |
| journalctlPath | string | |
| sudoPath | string |
fn sync()
Refresh status from systemctl/journalctl. Zero-arg, safe, read-only.
fn enable()
systemctl enable --now the controlled unit, then refresh status.
fn disable()
systemctl disable --now the controlled unit, then refresh status.
Resources
status(infinite)— Enablement, activation, and last-run status of the controlled unit.
03Previous Versions
2026.08.27.1
04Stats
A
100 / 100
Downloads
4
Archive size
16.0 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels