summaryrefslogtreecommitdiffstats
path: root/system/apcupsd/apcupsd.logrotate
blob: 507c9cdaf3526fa1554bb0752c664183ea8a74d1 (plain)
1
2
3
4
5
6
7
8
/var/log/apcupsd.events {
  rotate 4
  weekly
  notifempty
  postrotate
    /etc/rc.d/rc.apcupsd restart 1>/dev/null || true
  endscript
}