浏览代码

Dovecot logrotate

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

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

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