From 3004a7100e325c006971cc2e8d0f157338c0ce5c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 22 Jul 2026 23:52:52 +0300 Subject: =?UTF-8?q?docs:=20DTail=20fork=20=E2=80=94=20documentation,=20age?= =?UTF-8?q?nt=20guide,=20example=20configs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Squashed development of the documentation and example configuration: - AGENTS.md / CLAUDE.md: repository guide describing build/test/benchmark/PGO workflows and the single default read/output path (formerly "turbo"). - doc/ and docs/: query-language reference, log formats, auth-key fast reconnect, journal source reads, performance analyses (dated point-in-time records kept under historical-note disclaimers), and the turbo-vs-normal benchmark report with its result CSVs. - README.md updates; examples/ config + JSON schema aligned with the current Output* server tuning fields (the removed TurboBoost* keys dropped). Co-Authored-By: Claude Opus 4.8 --- examples/prune_dserver_logs.sh.example | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/prune_dserver_logs.sh.example (limited to 'examples/prune_dserver_logs.sh.example') diff --git a/examples/prune_dserver_logs.sh.example b/examples/prune_dserver_logs.sh.example new file mode 100644 index 0000000..56a68cd --- /dev/null +++ b/examples/prune_dserver_logs.sh.example @@ -0,0 +1,10 @@ +#!/bin/bash + +declare -r LOGDIR=/var/run/dserver/log + +if [ ! -d "$LOGDIR" ]; then + exit 0 +fi + +# Daily rotated logs: YYYYMMDD.log — remove files not modified in the last 7 days. +/usr/bin/find "$LOGDIR" -type f -name '*.log' -mtime +7 -delete -- cgit v1.2.3