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