about summary refs log tree commit diff
path: root/etc/logrotate.d/rsyncd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/logrotate.d/rsyncd')
-rw-r--r--etc/logrotate.d/rsyncd9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/logrotate.d/rsyncd b/etc/logrotate.d/rsyncd
new file mode 100644
index 0000000..ec8a982
--- /dev/null
+++ b/etc/logrotate.d/rsyncd
@@ -0,0 +1,9 @@
+/var/log/rsync.log {
+	compress
+	maxage 365
+	rotate 7
+	size 1024k
+	notifempty
+	missingok
+	copytruncate
+}

Consider giving Nix/NixOS a try! <3