aboutsummaryrefslogtreecommitdiffstats
path: root/main/acct/logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'main/acct/logrotate')
-rw-r--r--main/acct/logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/acct/logrotate b/main/acct/logrotate
new file mode 100644
index 00000000000..30fbf064a01
--- /dev/null
+++ b/main/acct/logrotate
@@ -0,0 +1,12 @@
+/var/log/account/pacct {
+ compress
+ create 0770 root root
+ daily
+ delaycompress
+ missingok
+ notifempty
+ postrotate
+ accton /var/log/account/pacct
+ endscript
+ rotate 14
+}