aboutsummaryrefslogtreecommitdiffstats
path: root/syncthing/syncthing.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'syncthing/syncthing.logrotate')
-rw-r--r--syncthing/syncthing.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/syncthing/syncthing.logrotate b/syncthing/syncthing.logrotate
new file mode 100644
index 0000000..ef303bf
--- /dev/null
+++ b/syncthing/syncthing.logrotate
@@ -0,0 +1,8 @@
+/var/log/syncthing/*.log {
+ weekly
+ rotate 4
+ compress
+ missingok
+ notifempty
+ copytruncate
+}