diff options
Diffstat (limited to 'tools/conf/etc/logrotate.d/samhain')
-rw-r--r-- | tools/conf/etc/logrotate.d/samhain | 24 |
1 files changed, 0 insertions, 24 deletions
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 -} |