summarylogtreecommitdiffstats
path: root/asciinema.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'asciinema.logrotate')
-rw-r--r--asciinema.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/asciinema.logrotate b/asciinema.logrotate
new file mode 100644
index 000000000000..9234435cd82f
--- /dev/null
+++ b/asciinema.logrotate
@@ -0,0 +1,10 @@
+# Logrotate settings for the Asciinema Server
+
+/var/log/asciinema/*.log {
+ daily
+ missingok
+ rotate 20
+ compress
+ notifyempty
+ copytruncate
+}