whaleprep/deploy/termux-stop.sh
dev c4080976bc Deploy artifacts: Termux service scripts plus tunnel config
deploy/termux-{start,stop,status}.sh manage the release binary on the
tablet; deploy/cloudflared-whaleprep.yml is the dedicated tunnel config
for whaleprep.oiupoyt.space. README gains a deploy section.
2026-10-12 22:26:33 +05:30

4 lines
266 B
Bash
Executable file

#!/usr/bin/env bash
# Stop WhalePrep. Usage: ./deploy/termux-stop.sh (run from repo root)
cd "$(dirname "$0")/.."
[ -f ./whaleprep.pid ] && PID=$(cat ./whaleprep.pid) && kill "$PID" 2>/dev/null && rm -f ./whaleprep.pid && echo "stopped $PID" || echo "not running"