From 5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3 Mon Sep 17 00:00:00 2001 From: punk Date: Thu, 29 Apr 2021 16:10:16 +0100 Subject: linux tools configs moved to linux folder --- tools/conf/etc/logrotate.d/samhain | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 tools/conf/etc/logrotate.d/samhain (limited to 'tools/conf/etc/logrotate.d/samhain') diff --git a/tools/conf/etc/logrotate.d/samhain b/tools/conf/etc/logrotate.d/samhain deleted file mode 100644 index d60f810..0000000 --- a/tools/conf/etc/logrotate.d/samhain +++ /dev/null @@ -1,24 +0,0 @@ -/var/log/samhain.log { - weekly - rotate 52 - nocreate - missingok - compress - - prerotate - if test -f /var/run/samhain.pid; then \ - PIN=`cat /var/run/samhain.pid`; \ - /bin/kill -TTIN $PIN; \ - sleep 1; \ - AA=0; \ - while test "x$AA" != "x120"; do \ - AA=$(( AA + 1 )); \ - if test -f /var/log/samhain.log.lock; then \ - sleep 1; \ - else \ - break; \ - fi \ - done; \ - fi - endscript -} -- cgit