summaryrefslogtreecommitdiff
path: root/social/spectrum/logrotate.spectrum
blob: ae52ff156d020fe56b746e65de7e52388d14d195 (plain)
1
2
3
4
5
6
7
8
9
10
/var/log/spectrum/*.log {
   notifempty
   missingok
   sharedscripts
   postrotate
      for P in /var/run/spectrum/*.pid; do
         /bin/kill -HUP `cat "$P" 2>/dev/null` 2>/dev/null || true
      done
   endscript
}