diff --git a/runner.log b/runner.log new file mode 100644 index 0000000..630efea --- /dev/null +++ b/runner.log @@ -0,0 +1,2 @@ +time="2026-01-29T20:06:23-07:00" level=info msg="Starting runner daemon" +time="2026-01-29T20:06:23-07:00" level=info msg="runner: community-rule-runner-mac, with version: v0.2.6, with labels: [self-hosted macos-latest], declare successfully" diff --git a/scripts/start-runner.sh b/scripts/start-runner.sh index 29de9a6..8773ce0 100755 --- a/scripts/start-runner.sh +++ b/scripts/start-runner.sh @@ -21,8 +21,8 @@ if pgrep -f "act_runner daemon" > /dev/null; then exit 1 fi -# Start the runner in the background with proper PATH -PATH="/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin:$PATH" ./act_runner daemon --config config/gitea-runner.yaml & +# Start the runner in the background with proper PATH and log redirection +PATH="/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin:$PATH" ./act_runner daemon --config config/gitea-runner.yaml > runner.log 2>&1 & RUNNER_PID=$! # Save PID to file for easy stopping