about summary refs log tree commit diff stats
path: root/tools/conf/etc/logrotate.d/letsencrypt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/conf/etc/logrotate.d/letsencrypt')
-rw-r--r--tools/conf/etc/logrotate.d/letsencrypt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/conf/etc/logrotate.d/letsencrypt b/tools/conf/etc/logrotate.d/letsencrypt
new file mode 100644
index 0000000..ce73ebc
--- /dev/null
+++ b/tools/conf/etc/logrotate.d/letsencrypt
@@ -0,0 +1,7 @@
+/var/log/letsencrypt/*.log {
+    # uncomment this if you want your log files compressed
+    delaycompress
+    compress
+    olddir /var/log/old/letsencrypt
+    notifempty
+}