• install/logrotate.d/sbbs

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tuesday, November 10, 2026 22:33:54
    https://gitlab.synchro.net/main/sbbs/-/commit/246db6b4ed843d76cc9123d5
    Modified Files:
    install/logrotate.d/sbbs
    Log Message:
    logrotate sample: signal rsyslogd to reopen sbbs.log after rotation

    Without a postrotate step, rsyslogd keeps its file descriptor on the
    renamed sbbs.log.1 and keeps writing there, while the newly created
    sbbs.log stays empty, until something else (e.g. the distro's own weekly rsyslog rotation) happens to make it reopen its files. Meanwhile
    notifempty skips sbbs.log, so "maxsize 1G" never applies: rotated files
    of 2-5 GB were the symptom.

    Use Debian's /usr/lib/rsyslog/rsyslog-rotate helper when present,
    otherwise send SIGHUP to rsyslogd directly.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tuesday, November 10, 2026 22:33:54
    https://gitlab.synchro.net/main/sbbs/-/commit/0bdefcd9d796c8e90465b870
    Modified Files:
    install/logrotate.d/sbbs
    Log Message:
    logrotate sample: gzip rotated sbbs.log files

    A busy BBS writes several GB of syslog output a week, and the ten
    uncompressed weekly rotations kept by this config can add up to tens of
    GB. Compress them, but use delaycompress so the most recent rotated log (sbbs.log.1) stays plain text for grep.

    Compressed logs can be searched with zgrep, or ugrep -z.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net