]> git.pld-linux.org Git - packages/mongodb.git/blobdiff - mongodb.logrotate
not everything from includedir is duplicated
[packages/mongodb.git] / mongodb.logrotate
index ac11647460bdb02ade22a18165e16ec2ecc661cd..8fadf5f47785cbba7a52011ea49623ad1bd058eb 100644 (file)
@@ -1,11 +1,13 @@
 /var/log/mongo/*.log {
-  weekly
-  rotate 10
-  copytruncate
-  delaycompress
-  compress
-  notifempty
-  missingok
+       olddir /var/log/archive/mongo
+       su mongod mongod
+       weekly
+       rotate 10
+       copytruncate
+       delaycompress
+       compress
+       notifempty
+       missingok
 }
 
 
This page took 0.186385 seconds and 4 git commands to generate.