浏览代码

Dovecot logrotate ubuntu 12.04

Made I.T 9 年之前
父节点
当前提交
2f0dc8fd2a
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      install/ubuntu/12.04/logrotate/dovecot

+ 12 - 0
install/ubuntu/12.04/logrotate/dovecot

@@ -0,0 +1,12 @@
+/var/log/dovecot*.log {
+  weekly
+  rotate 4
+  missingok
+  notifempty
+  compress
+  delaycompress
+  sharedscripts
+  postrotate
+    doveadm log reopen
+  endscript
+}