• install/logrotate.d/sbbs

    From Rob Swindell (on Debian Linux)@1:103/705 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>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)