aboutsummaryrefslogtreecommitdiff
path: root/system/atop/psacct.logrotate
diff options
context:
space:
mode:
authorMenno E. Duursma <druiloor@zonnet.nl>2010-05-11 20:01:53 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:01:53 +0200
commitefd5c4148c23b71a6e8c5ce8ba6b16ae48d15ae3 (patch)
tree51d55b6c96708e71ed96a073f28a67db274f6199 /system/atop/psacct.logrotate
parentb0d02a1f054fc4dbc9a57daa91db213e3abe2180 (diff)
system/atop: Added to 12.0 repository
Diffstat (limited to 'system/atop/psacct.logrotate')
-rw-r--r--system/atop/psacct.logrotate14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/atop/psacct.logrotate b/system/atop/psacct.logrotate
new file mode 100644
index 000000000000..15ae2c1ed0ba
--- /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
+}