summaryrefslogtreecommitdiff
path: root/debian/lightdm.logrotate
diff options
context:
space:
mode:
authorAlexandros Frantzis <alexandros.frantzis@canonical.com>2015-10-20 10:50:44 +0300
committerAlexandros Frantzis <alexandros.frantzis@canonical.com>2015-10-20 10:50:44 +0300
commit602dcab686d32f2f78cb207bb3620d6d754791e8 (patch)
treec0cde4c91d15660ece62e93712116ffd7abf7ce1 /debian/lightdm.logrotate
parentc4672bcc43ffbe5938681a6480a6abf58d034f66 (diff)
downloadlightdm-git-602dcab686d32f2f78cb207bb3620d6d754791e8.tar.gz
Use logrotate to handle files in the default log directory
Diffstat (limited to 'debian/lightdm.logrotate')
-rw-r--r--debian/lightdm.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/lightdm.logrotate b/debian/lightdm.logrotate
new file mode 100644
index 00000000..fed4a02b
--- /dev/null
+++ b/debian/lightdm.logrotate
@@ -0,0 +1,9 @@
+/var/log/lightdm/*.log {
+ daily
+ missingok
+ rotate 7
+ compress
+ notifempty
+ maxsize 10M
+ copytruncate
+}