diff options
Diffstat (limited to 'system/atop/psacct.logrotate')
-rw-r--r-- | system/atop/psacct.logrotate | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/atop/psacct.logrotate b/system/atop/psacct.logrotate new file mode 100644 index 0000000000..15ae2c1ed0 --- /dev/null +++ b/system/atop/psacct.logrotate @@ -0,0 +1,14 @@ +/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 +} |