Skip to content

v0.1.0-dev.1 — pre-release (dev/testing)

Pre-release
Pre-release

Choose a tag to compare

@abdorizak abdorizak released this 28 Jun 09:06
· 22 commits to main since this release

🚧 Pre-release. sm2 is in active development — try it and report issues. Commands/flags/config may change before a stable v1.0.0.

A single-binary universal process supervisor written in Go (a PM2/systemd alternative).

Install

go install github.com/abdorizak/sm2/cmd/sm2@v0.1.0-dev.1

The command is sm2. Docs: https://sm2.dev

What's in it

  • Run/supervise any app: start stop restart delete reset signal (target a name, all, or --namespace)
  • Auto-restart policies, restart triggers: --max-memory-restart, --watch, --cron-restart
  • Live monitoring: status (boxed/colored, --json), describe, logs
  • Declarative config in YAML or TOML (config init/validate/reload)
  • Reboot survival: save / resurrect / startup (launchd & systemd)
  • Discord notifications via config or sm2 notify (no config file needed)
  • restart --update-env + reload alias

Tested: Go unit tests + a 50-check end-to-end CLI suite.