0 Members and 1 Guest are viewing this topic.
# Kloxo LogRotate# Initial version# Needs cleanup# Using this one on LxCenter server# Created by Danny Terweij <d.terweij@lxcenter.org>## Daily rotates (compressed) and keeps maximum of 30 days## add and modified by Mustafa Ramadhan <mustafa.ramadhan@lxcenter.org>/home/httpd/*/stats/*_log/home/*/__processed_stats/*_log## MR -- disable for kloxo because using fixlogdir in scavenge#/usr/local/lxlabs/kloxo/log/*#/usr/local/lxlabs/kloxo/processed_log/*{ daily #create 0664 apache apache #rotate 52 compress delaycompress notifempty missingok sharedscripts postrotate# sh /script/restart-web -y >/dev/null 2>&1 || true sh /script/restart -y >/dev/null 2>&1 || true endscript
Page created in 0.033 seconds with 21 queries.