Merge "Don't compress very, very recent log files"
This commit is contained in:
commit
aae845380c
@ -3,7 +3,7 @@ sleep $((RANDOM%600)) && \
|
||||
flock -n /var/run/gziplogs.lock \
|
||||
find /srv/static/logs/ -depth \
|
||||
\( \
|
||||
\( -type f -not -name robots.txt \
|
||||
\( -type f -mmin +10 -not -name robots.txt \
|
||||
-not -wholename /srv/static/logs/help/\* \
|
||||
-not -name \*\[.-\]gz -not -name \*\[._-\]\[zZ\] \
|
||||
\( -name \*.txt -or -name \*.html -or -name tmp\* \) \
|
||||
|
Loading…
Reference in New Issue
Block a user