From 0201cd199cbf5c60182881f4cdb4a6a9bf3e9b8c Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Sun, 3 Sep 2017 11:09:44 +0100 Subject: added logrotate configuration --- tools/conf/etc/logrotate.d/shorewall | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tools/conf/etc/logrotate.d/shorewall (limited to 'tools/conf/etc/logrotate.d/shorewall') 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 +} -- cgit 1.4.1-2-gfad0