summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2018-03-05 21:21:15 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2018-03-13 22:19:12 +0000
commit747579b320426aa97002aee2b42051e8cbc7b41e (patch)
treed34409ca2c115bd3a3ac511667524d330e88e20c
parentnet-p2p/monero-gui: GUI for net-p2p/monero (diff)
downloadportage-747579b320426aa97002aee2b42051e8cbc7b41e.tar.xz
factory-default: Add logrotate for net-firewall/iptables
-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
+}