v0.1.0-dev.1 — pre-release (dev/testing)
Pre-release
Pre-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.1The 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+reloadalias
Tested: Go unit tests + a 50-check end-to-end CLI suite.