From b3649db8fc006f296726d513ad3cf7ced41150f7 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 7 Dec 2017 21:03:10 +0000 Subject: [PATCH] Stop expiring contents for docs-draft.o.o Since static.openstack.org is no longer serving a docs-draft.openstack.org vhost, and downstream consumers of this module are unlikely to have been doing so themselves either, stop bothering to attempt to expire content for it. Change-Id: I413ac425d752f4fe839648808c0df8c620bef1a5 Depends-On: Ib44df24100192f7903eb60c6fc93feeea0894b90 --- files/log_archive_maintenance.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/files/log_archive_maintenance.sh b/files/log_archive_maintenance.sh index 09a0ff6..2eed11d 100644 --- a/files/log_archive_maintenance.sh +++ b/files/log_archive_maintenance.sh @@ -8,6 +8,3 @@ find -O3 /srv/static/logs/ -depth -not -name robots.txt -not -name lost+found \ -exec gzip \{\} \; \) \ -o \( -type f -mtime +30 -execdir rm \{\} \; \) \ -o \( -type d -empty -mtime +1 -execdir rmdir {} \; \) \) -find -O3 /srv/static/docs-draft/ -depth -not -name lost+found \( \ - \( -type f -mtime +21 -execdir rm \{\} \; \) \ - -o \( -type d -empty -mtime +1 -execdir rmdir {} \; \) \)