# GitKS logrotate configuration # # Rotates file-based application logs if gitks is configured # to write logs to a file instead of journald. # # Location: /etc/logrotate.d/gitks # Permissions: 0644 root:root /var/log/gitks/*.log { daily missingok rotate 14 compress delaycompress notifempty create 0640 gitks gitks sharedscripts postrotate # Notify gitks to reopen log files if needed /bin/systemctl kill -s HUP gitks.service 2>/dev/null || true endscript }