Blame | Last modification | View Log | RSS feed
# perform the log rotate every weekweekly# keep the backup of 52 weeksrotate 52missingok# compress the logs, but from the .2 onwardscompressdelaycompressnotifempty# Rotate client logs/var/log/glusterfs/*.log {sharedscriptspostrotate/usr/bin/killall -HUP glusterfs > /dev/null 2>&1 || true/usr/bin/killall -HUP glusterd > /dev/null 2>&1 || trueendscript}# Rotate server logs/var/log/glusterfs/bricks/*.log {sharedscriptspostrotate/usr/bin/killall -HUP glusterfsd > /dev/null 2>&1 || trueendscript}