summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/syncthing/files/syncthing.logrotate')
-rw-r--r--net-p2p/syncthing/files/syncthing.logrotate5
1 files changed, 1 insertions, 4 deletions
diff --git a/net-p2p/syncthing/files/syncthing.logrotate b/net-p2p/syncthing/files/syncthing.logrotate
index 37c43209a120..11310e381afd 100644
--- a/net-p2p/syncthing/files/syncthing.logrotate
+++ b/net-p2p/syncthing/files/syncthing.logrotate
@@ -2,8 +2,5 @@
missingok
notifempty
sharedscripts
- postrotate
- kill -0 $(</run/syncthing.pid) && \
- /etc/init.d/syncthing restart > /dev/null 2>&1 || true
- endscript
+ copytruncate
}