app
Service Containers
Public Unreviewedby John Lauer
One dashboard for every Adom service container: what is healthy, what is down, why, and a restart button that runs the watchdog's own start command. Reads the watchdog's verdicts off disk, so it costs no extra probes and no vendor API quota.
main
#!/bin/sh
set -e
BIN="$HOME/.local/bin"
mkdir -p "$BIN"
# Symlink back into the module dir so edits propagate and a reinstall does not
# clobber a running instance.
chmod +x "$PWD/app/cli.js"
ln -sfn "$PWD/app/cli.js" "$BIN/svcwatch"
echo "OK: svcwatch installed to $BIN/svcwatch"
echo "Hint: start it with \`svcwatch serve\`, or open the tab with \`svcwatch show\`"