This repository was archived by the owner on Nov 22, 2026. It is now read-only.
Repository navigation
mojo-systemd v0.1.0
mojo-systemd v0.1.0
Released: 2026-10-21 · Commit: the one tagged v0.1.0 · Previous: first release
What it does
sd_notify for Mojo: a service tells systemd it is ready, what it is doing, and that it is alive.
Highlights
- 60 lines, libc only; no libsystemd to link.
- A real
Type=notifyunit withWatchdogSec=1is part of the gate: pinging survives, silence is killed. - Path and abstract sockets;
WATCHDOG_PIDrespected.
Changes
First public release, no earlier version.
Verified
| Check | Result |
|---|---|
scripts/check.sh: 7 setups vs a Python oracle, then a live user unit |
PASS all |
scripts/selfcheck.sh: 4 mutants |
all rejected |
Known limits
- Linux only. No
FDSTORE/fd passing (needsSCM_RIGHTS), nosd_listen_fds. - On a runner without a user service manager the unit test is skipped and says so.
Commits
v0.1.0first public release (one commit)
Upgrade / run
mojo run -I src app.mojo