about summary refs log tree commit diff stats
path: root/linux/conf/logrotate.d/shorewall
diff options
context:
space:
mode:
Diffstat (limited to 'linux/conf/logrotate.d/shorewall')
-rw-r--r--linux/conf/logrotate.d/shorewall11
1 files changed, 11 insertions, 0 deletions
diff --git a/linux/conf/logrotate.d/shorewall b/linux/conf/logrotate.d/shorewall
new file mode 100644
index 0000000..a7dffdf
--- /dev/null
+++ b/linux/conf/logrotate.d/shorewall
@@ -0,0 +1,11 @@
+/var/log/shorewall-init.log {
+  missingok
+  notifempty
+  create 0600 root root
+    sharedscripts
+    postrotate
+    if [ -f /var/run/syslog-ng.pid ]; then \
+    	kill -HUP `cat /var/run/syslog-ng.pid`; \
+    fi;
+    endscript
+}