summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/moblock/moblock.logrotate
blob: 6ed64bb81b69a0c4e34652074461d904e29159e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
"/var/log/moblock.log" /var/log/MoBlock.stats {
  daily
  missingok
  notifempty
  sharedscripts
  postrotate
    /usr/bin/test -f /var/run/moblock.pid && /bin/kill -HUP `cat /var/run/moblock.pid 2>/dev/null` 2>/dev/null || exit 0
  endscript
  compress
}