diff options
author | Cecil <knoppmyth@gmail.com> | 2012-09-23 19:31:10 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2012-09-23 19:31:10 (GMT) |
commit | cafd1e5f46d61c3175d4a3347c65ae79c476c61a (patch) | |
tree | 3b82cfb5c5e646861bb551088229f19bfadf8d3b /abs/core/rsyslog | |
parent | 717c1c4f8bd16ddf23688e2b94e529a069f40bc9 (diff) | |
parent | 02ed2d32465e5f074eae2bca648c2b344c7a3044 (diff) | |
download | linhes_pkgbuild-cafd1e5f46d61c3175d4a3347c65ae79c476c61a.zip linhes_pkgbuild-cafd1e5f46d61c3175d4a3347c65ae79c476c61a.tar.gz linhes_pkgbuild-cafd1e5f46d61c3175d4a3347c65ae79c476c61a.tar.bz2 |
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/rsyslog')
-rw-r--r-- | abs/core/rsyslog/PKGBUILD | 4 | ||||
-rw-r--r-- | abs/core/rsyslog/log_care.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/abs/core/rsyslog/PKGBUILD b/abs/core/rsyslog/PKGBUILD index 5ea3587..129b0d1 100644 --- a/abs/core/rsyslog/PKGBUILD +++ b/abs/core/rsyslog/PKGBUILD @@ -3,7 +3,7 @@ pkgname=rsyslog pkgver=5.8.6 -pkgrel=4 +pkgrel=5 pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability" url="http://www.rsyslog.com/" arch=('i686' 'x86_64') @@ -51,4 +51,4 @@ md5sums=('c46db0496066b82faf735bd4222208d7' 'a18bbcbb6ebdaa13a6ec6d9f3d9eb2da' '1a0cd4530dd5d1439456d5ae230574d9' 'fae023a980db26f0ee27bd2f80d3e6f2' - '86a7e28b59ad80998b2163860d5d612a') + '2f795681e12f8bc43e8bea28dc020dcb') diff --git a/abs/core/rsyslog/log_care.sh b/abs/core/rsyslog/log_care.sh index ea1db56..9023a82 100644 --- a/abs/core/rsyslog/log_care.sh +++ b/abs/core/rsyslog/log_care.sh @@ -7,7 +7,7 @@ do echo "Compressing log files" find /var/log/$DATE* -mtime +1 -exec gzip -9 {} \; echo "Deleting old log files" - find /var/log/$DATE* -mtime +7 -exec rm -rf {} \; + find /var/log/$DATE* -mtime +12 -exec rm -rf {} \; echo "Deleting empty directories" find /var/log/$DATE* -depth -type d -empty -exec rm -rf {} \; done |