slackbuilds/system/atop/psacct.logrotate

15 lines
197 B
Plaintext

/var/log/pacct {
create 640 root utmp
daily
# Keep 4 weeks of backlog
rotate 28
compress
missingok
prerotate
/sbin/accton
endscript
postrotate
/sbin/accton /var/log/pacct
endscript
}