diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2012-08-05 15:59:43 +0200 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2012-08-05 15:59:43 +0200 |
commit | afd07644b2fdc8d4d3ac55f2718846870f36ec4e (patch) | |
tree | 42a73d697431ebf108a11f5eeb2fbbb09be72aac /scripts | |
parent | Move the logs to /var/log/planet.gentoo.org/{planet,universe} (diff) | |
download | planet-afd07644b2fdc8d4d3ac55f2718846870f36ec4e.tar.gz planet-afd07644b2fdc8d4d3ac55f2718846870f36ec4e.tar.bz2 planet-afd07644b2fdc8d4d3ac55f2718846870f36ec4e.zip |
Also update the log dir for the cleanup log command
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-venus | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-venus b/scripts/update-venus index 352d3a9..7b01cfc 100755 --- a/scripts/update-venus +++ b/scripts/update-venus @@ -37,7 +37,7 @@ for instance in planet universe; do done # Delete old logs -find ${BASE_DIR}/logs -type f -mtime +30 -delete +find ${LOG_DIR} -type f -mtime +30 -delete # Check for year directory, if not there create both needed [[ -d ${BASE_DIR}/htdocs/archives/$(date +%G) ]] || \ |