]> git.pld-linux.org Git - packages/mongodb.git/blobdiff - mongodb.logrotate
- release 6 (by relup.sh)
[packages/mongodb.git] / mongodb.logrotate
index ac11647460bdb02ade22a18165e16ec2ecc661cd..734fdec59d80ae22a6e34a599c9f8fcc7594fd6d 100644 (file)
@@ -1,11 +1,11 @@
-/var/log/mongo/*.log {
-  weekly
-  rotate 10
-  copytruncate
-  delaycompress
-  compress
-  notifempty
-  missingok
+/var/log/mongodb/*.log {
+       olddir /var/log/archive/mongodb
+       su mongod mongod
+       weekly
+       rotate 10
+       copytruncate
+       delaycompress
+       compress
+       notifempty
+       missingok
 }
-
-
This page took 0.137171 seconds and 4 git commands to generate.