# newsyslog rotation for Gitea Actions runner: ${RUNNER_NAME} # Rendered from com.gitea.runner.newsyslog.conf.tpl # Installed to /etc/newsyslog.d/ by manage_runner.sh (add_native_runner) # # Fields: logfile owner:group mode count size when flags # count=5 — keep 5 rotated archives # size=51200 — rotate when log exceeds 50 MB (size in KB) # when=* — also check daily (default newsyslog interval) # flags=GN — G=gzip old logs, N=create new file if missing ${RUNNER_DATA_PATH}/runner.out.log :staff 644 5 51200 * GN ${RUNNER_DATA_PATH}/runner.err.log :staff 644 5 51200 * GN