• nextime's avatar
    Add proper log rotation support to Debian packages · c476d907
    nextime authored
    - Created logrotate configuration files for both wssshd and wssshc
    - wssshd.logrotate: Rotates /var/log/wssshd/watchdog.log weekly
    - wssshc.logrotate: Rotates /var/log/wssshc/watchdog.log weekly
    - Both configs include postrotate scripts to HUP watchdog processes
    - Install logrotate configs to /etc/logrotate.d/ in both packages
    - Added /etc/logrotate.d directory creation to debian/rules
    - Log rotation settings: weekly, 52 rotations, compress, proper permissions
    - Ensures logs don't grow indefinitely and consume disk space
    - Follows Debian packaging standards for log management
    - Automatic log rotation prevents production system issues
    c476d907
rules 1.72 KB