summaryrefslogtreecommitdiff
path: root/debian/consolekit.logrotate
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2009-09-02 17:47:38 +0200
committerMichael Biebl <biebl@debian.org>2009-09-02 18:05:16 +0200
commit77ce5841dbf2d71ddacbd9ce0b9064b3f79b2e5a (patch)
tree6d20bb164b0227c90bcd323a3055d6561132b45c /debian/consolekit.logrotate
parent86f243390660e45c24a11a597716db93400b0168 (diff)
downloadconsolekit-77ce5841dbf2d71ddacbd9ce0b9064b3f79b2e5a.tar.gz
Install a logrotate configuration file
debian/consolekit.logrotate: Install a logrotate configuration file for /var/log/ConsoleKit/history so that it doesn't get huge and cause ck-history to take a long while to run on login. ck-history already handles reading from rotated logs. (Closes: #537833) Thanks to James Westby for the patch.
Diffstat (limited to 'debian/consolekit.logrotate')
-rw-r--r--debian/consolekit.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/consolekit.logrotate b/debian/consolekit.logrotate
new file mode 100644
index 0000000..6e63e41
--- /dev/null
+++ b/debian/consolekit.logrotate
@@ -0,0 +1,8 @@
+/var/log/ConsoleKit/history {
+ monthly
+ rotate 6
+ delaycompress
+ compress
+ notifempty
+ missingok
+}