diff options
Diffstat (limited to 'linux/conf/logrotate.d/shorewall')
-rw-r--r-- | linux/conf/logrotate.d/shorewall | 11 |
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 +} |