ScuttleBot

scuttlebot / skills / scuttlebot-relay / scripts / relay-start.sh
Source Blame History 16 lines
e8b5616… lmata 1 #!/bin/bash
e8b5616… lmata 2 set -e
e8b5616… lmata 3
e8b5616… lmata 4 RELAY="${1:-claude-relay}"
e8b5616… lmata 5 shift 2>/dev/null || true
e8b5616… lmata 6
e8b5616… lmata 7 # Start watchdog if available.
e8b5616… lmata 8 WATCHDOG_PID=""
e8b5616… lmata 9 if command -v relay-watchdog &>/dev/null; then
e8b5616… lmata 10 relay-watchdog &
e8b5616… lmata 11 WATCHDOG_PID=$!
e8b5616… lmata 12 trap "kill $WATCHDOG_PID 2>/dev/null" EXIT
e8b5616… lmata 13 fi
e8b5616… lmata 14
e8b5616… lmata 15 # Run the relay in the foreground.
e8b5616… lmata 16 exec "$RELAY" "$@"

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button