summaryrefslogtreecommitdiff
blob: 5080aa1bfa387b0eb4f86f84f3740d2afe1a2a90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# logrotate snippet for ufw
# requires app-admin/syslog-ng
# copy the file into /etc/logrotate.d
/var/log/ufw.log {
    missingok
    rotate 5
    notifempty
    sharedscripts
    postrotate
        /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true
    endscript
}