clawdie-ai/stop-clawdie.sh
Sam & Claude d172c52f3d chore(service): update generated start/stop scripts
Regenerated by setup/service.ts during preflight run (2026-03-14).
Stripped tmux session management from start script — now a lean
rc.d-compatible daemon wrapper (nohup + pidfile only).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---
Build: pass | Tests: FAIL — Tests  6 failed | 408 passed | 10 skipped (424)
2026-03-14 23:45:37 +00:00

10 lines
248 B
Bash
Executable file

#!/bin/sh
set -eu
if [ ! -f "/home/clawdie/clawdie-ai/clawdie.pid" ]; then
echo "No PID file found" >&2
exit 1
fi
PID=$(cat "/home/clawdie/clawdie-ai/clawdie.pid")
kill "$PID"
rm -f "/home/clawdie/clawdie-ai/clawdie.pid"
echo "Stopped clawdie"