2020-10-14 23:33:55 +00:00
|
|
|
# Logrotate file for psacct RPM
|
|
|
|
|
|
|
|
/var/account/pacct {
|
|
|
|
compress
|
|
|
|
delaycompress
|
|
|
|
notifempty
|
|
|
|
daily
|
|
|
|
rotate 31
|
|
|
|
create 0600 root root
|
|
|
|
postrotate
|
|
|
|
if %{_bindir}/systemctl --quiet is-active psacct.service ; then
|
2021-11-01 14:16:50 +00:00
|
|
|
%{_bindir}/systemctl reload psacct.service
|
2020-10-14 23:33:55 +00:00
|
|
|
fi
|
|
|
|
endscript
|
|
|
|
}
|