diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-01-02 20:46:06 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-01-02 20:46:16 +0200 |
commit | 5d232331b7421bef5851f167f105e8282db5f4ba (patch) | |
tree | 9881cbe1dc5e69a378f33aba90f69cd0d5af4867 /main/logrotate | |
parent | 19b0c63da322177b3942b5f1a790cd7d667d13e9 (diff) | |
download | aports-5d232331b7421bef5851f167f105e8282db5f4ba.tar.bz2 aports-5d232331b7421bef5851f167f105e8282db5f4ba.tar.xz |
main/logrotate: rotate /var/log/messages by default
Diffstat (limited to 'main/logrotate')
-rw-r--r-- | main/logrotate/APKBUILD | 8 | ||||
-rw-r--r-- | main/logrotate/logrotate.conf | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/main/logrotate/APKBUILD b/main/logrotate/APKBUILD index 6e21d85a8e..020a4c367f 100644 --- a/main/logrotate/APKBUILD +++ b/main/logrotate/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=logrotate pkgver=3.9.1 -pkgrel=0 +pkgrel=1 pkgdesc="Tool to rotate logfiles" url="https://fedorahosted.org/logrotate/" arch="all" @@ -52,13 +52,13 @@ package() { md5sums="4492b145b6d542e4a2f41e77fa199ab0 logrotate-3.9.1.tar.gz 7e9fad2c9b382a2370c11ef0c89f61c7 logrotate.cron -fef6415a79a6fede8cf9b9b6b8410090 logrotate.conf +dbe6b14d5265e32f8e1b655ae34ae3a3 logrotate.conf e7e4b67d5c4bda49ff3c041834180c1e logrotate.confd" sha256sums="022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545 logrotate-3.9.1.tar.gz ccbcf1785c754ce07a55b81223ae5b0c2caec1ccf9cdf865debb140052f9b363 logrotate.cron -c8fbf89e4f3afee4fc59ed5dff246eda9d1ea1cbce38bf9dbabfc3af2f01e951 logrotate.conf +4ceb3045968a7bc539a808821fb7ca03521806153b012bdb3800e1811d2772f9 logrotate.conf 814bea9082cfa3a9446e25f4f4fe4fe205130cea6ba15dc8286409c3d01a3973 logrotate.confd" sha512sums="e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 logrotate-3.9.1.tar.gz f4d708594fb2b240cfc2928f38a180d27c2cecb9867e048dc29a32c0147244db4d2f6d92e7bff27e1f2623537587db87b2f8fc9bb988f98eff0c98f79f5a5bf2 logrotate.cron -8d49880f2477c8e18b8ea4f6c17410635e761a819b0463c3e73447ee06d3f3649ae9ad16f239451ef5d8e308e74102ef8cf2da6a4c5890e8968dd4ecbf6d1e3b logrotate.conf +a21f664cee9a3fa01c207fe126cef85d127c90ea012f4ecde47396ec1139dd489c04f92d5075fc1b0cbcc604af84c2ff01dccdaeca630db088c2f6e521fabe82 logrotate.conf be9f0043b594d26b4f64e07a2188d19c3c43af75ef726305e4d98f744fc16cee9f280227116858e2f5b781c0a7b58e0209d7e9ab1285dfa7ba55a9dfda700229 logrotate.confd" diff --git a/main/logrotate/logrotate.conf b/main/logrotate/logrotate.conf index 125268ae80..bcfc174a7e 100644 --- a/main/logrotate/logrotate.conf +++ b/main/logrotate/logrotate.conf @@ -14,6 +14,9 @@ dateext # uncomment this if you want your log files compressed compress +# main log file +/var/log/messages {} + # apk packages drop log rotation information into this directory include /etc/logrotate.d |