diff options
Diffstat (limited to 'net-firewall/ufw/files/rsyslog/ufw.logrotate')
-rw-r--r-- | net-firewall/ufw/files/rsyslog/ufw.logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-firewall/ufw/files/rsyslog/ufw.logrotate b/net-firewall/ufw/files/rsyslog/ufw.logrotate new file mode 100644 index 000000000000..f88ca8265bea --- /dev/null +++ b/net-firewall/ufw/files/rsyslog/ufw.logrotate @@ -0,0 +1,13 @@ +/var/log/ufw.log +{ + rotate 5 + weekly + missingok + notifempty + compress + delaycompress + sharedscripts + postrotate + /etc/init.d/rsyslog reload >/dev/null 2>&1 || true + endscript +} |