diff options
author | Silvino Silva <silvino@bk.ru> | 2017-09-03 11:09:44 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2017-09-03 11:09:44 +0100 |
commit | 0201cd199cbf5c60182881f4cdb4a6a9bf3e9b8c (patch) | |
tree | 4670f4e3c01e79175f37bdaa57bf37f41131dc9c /tools/conf/etc/logrotate.d/shorewall | |
parent | 46329d66252eb37e731f670705f6085db74a93f7 (diff) | |
download | doc-0201cd199cbf5c60182881f4cdb4a6a9bf3e9b8c.tar.gz |
added logrotate configuration
Diffstat (limited to 'tools/conf/etc/logrotate.d/shorewall')
-rw-r--r-- | tools/conf/etc/logrotate.d/shorewall | 11 |
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 +} |