summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--debian/mongodb-server.logrotate10
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index caccc84..d7135f3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mongodb (1:2.0.2-2) unstable; urgency=low
+
+ * added logrotate for mongodb-server (Closes: #656065)
+
+ -- Antonin Kral <A.Kral@sh.cvut.cz> Mon, 16 Jan 2012 10:46:36 +0100
+
mongodb (1:2.0.2-1) unstable; urgency=low
* New upstream release 2.0.2
diff --git a/debian/mongodb-server.logrotate b/debian/mongodb-server.logrotate
new file mode 100644
index 0000000..6bc7baa
--- /dev/null
+++ b/debian/mongodb-server.logrotate
@@ -0,0 +1,10 @@
+/var/log/mongodb/*.log {
+ weekly
+ rotate 10
+ copytruncate
+ delaycompress
+ compress
+ notifempty
+ missingok
+}
+