aports/main/acct/logrotate
Dermot Bradley a8d72a50d7 main/acct: remove last binary, add init.d script
Remove the last binary from the package - it is provided instead by
util-linux-login package. This fixes issue .
Create openrc subpackage with init script to enable accounting at boot.
Add logrotate configuration file.
Correct the path of the wtmp file.
2022-03-14 17:23:49 +00:00

12 lines
171 B
Text

/var/log/account/pacct {
compress
create 0770 root root
daily
delaycompress
missingok
notifempty
postrotate
accton /var/log/account/pacct
endscript
rotate 14
}