Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.

mojo-systemd v0.1.0

Choose a tag to compare

@amarbarosys amarbarosys released this 21 Oct 11:52
· 24 commits to main since this release

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=notify unit with WatchdogSec=1 is part of the gate: pinging survives, silence is killed.
  • Path and abstract sockets; WATCHDOG_PID respected.

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 (needs SCM_RIGHTS), no sd_listen_fds.
  • On a runner without a user service manager the unit test is skipped and says so.

Commits

  • v0.1.0 first public release (one commit)

Upgrade / run

mojo run -I src app.mojo