Loading...
Loading...
Stop the asciinema chunker daemon. TRIGGERS - stop daemon, pause chunker, disable backup.
npx skill4agent add terrylica/cc-skills daemon-stop/usr/bin/env bash << 'CHECK_EOF'
PLIST_PATH="$HOME/Library/LaunchAgents/com.cc-skills.asciinema-chunker.plist"
if ! [[ -f "$PLIST_PATH" ]]; then
echo "Daemon not installed."
exit 0
fi
if ! launchctl list 2>/dev/null | grep -q "asciinema-chunker"; then
echo "Daemon not running."
exit 0
fi
echo "RUNNING"
CHECK_EOF/usr/bin/env bash << 'STOP_EOF'
PLIST_PATH="$HOME/Library/LaunchAgents/com.cc-skills.asciinema-chunker.plist"
if launchctl unload "$PLIST_PATH"; then
echo "Daemon stopped"
# Verify
sleep 1
if launchctl list 2>/dev/null | grep -q "asciinema-chunker"; then
echo "WARNING: Daemon may still be running"
else
echo "Confirmed: Daemon is no longer running"
fi
else
echo "ERROR: Failed to stop daemon"
exit 1
fi
STOP_EOFDaemon stopped
Confirmed: Daemon is no longer running/asciinema-tools:daemon-start| Issue | Cause | Solution |
|---|---|---|
| Failed to stop daemon | Launchd error | Try |
| Daemon still running | Multiple instances | Kill manually: |
| Can't find plist | Setup not run | Run |
| Recordings not stopping | asciinema rec is running | Exit recording shell first (Ctrl-D or type exit) |