summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--factory-default/net-firewall/iptables/etc/logrotate.d/firewall6
1 files changed, 6 insertions, 0 deletions
diff --git a/factory-default/net-firewall/iptables/etc/logrotate.d/firewall b/factory-default/net-firewall/iptables/etc/logrotate.d/firewall
new file mode 100644
index 00000000..592494b7
--- /dev/null
+++ b/factory-default/net-firewall/iptables/etc/logrotate.d/firewall
@@ -0,0 +1,6 @@
+/var/log/firewall.log {
+ sharedscripts
+ postrotate
+ /etc/init.d/syslog-ng reload > /dev/null
+ endscript
+}