summaryrefslogtreecommitdiff
blob: 37c43209a120a966e4d0d9db1af5ee8e40ca6de1 (plain)
1
2
3
4
5
6
7
8
9
/var/log/syncthing/syncthing.log {
    missingok
    notifempty
    sharedscripts
    postrotate
        kill -0 $(</run/syncthing.pid) && \
          /etc/init.d/syncthing restart > /dev/null 2>&1 || true
    endscript
}