about summary refs log tree commit diff stats
path: root/linux/conf/logrotate.d/letsencrypt
diff options
context:
space:
mode:
Diffstat (limited to 'linux/conf/logrotate.d/letsencrypt')
-rw-r--r--linux/conf/logrotate.d/letsencrypt7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/conf/logrotate.d/letsencrypt b/linux/conf/logrotate.d/letsencrypt
new file mode 100644
index 0000000..ce73ebc
--- /dev/null
+++ b/linux/conf/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
+}