about summary refs log tree commit diff stats
path: root/tools/conf/etc/logrotate.d/shorewall
diff options
context:
space:
mode:
Diffstat (limited to 'tools/conf/etc/logrotate.d/shorewall')
-rw-r--r--tools/conf/etc/logrotate.d/shorewall11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/conf/etc/logrotate.d/shorewall b/tools/conf/etc/logrotate.d/shorewall
new file mode 100644
index 0000000..a7dffdf
--- /dev/null
+++ b/tools/conf/etc/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
+}