← back to Dw Launchd Canary

run.sh

8 lines

#!/bin/zsh
# dw-launchd-canary launchd entrypoint — hourly, read-only.
export PATH="/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin"
SKILL="$HOME/Projects/dw-launchd-canary"
# Load GEORGE_AUTH (+ any overrides) for the alert path.
set -a; . "$HOME/Projects/secrets-manager/.env" 2>/dev/null; set +a
exec /opt/homebrew/bin/node "$SKILL/canary.mjs" >> "$SKILL/data/launchd.out" 2>&1