psacct/psacct-logrotate.in
Jan Görig badd272687 - upgrade to new upstream release
- remove obsolete patches
- remove FHS_compliant condition
- remove obsolete conflicts with initscripts
- info installation fix
- modified man-pages patch
- spec fixes
2010-11-09 17:30:13 +01:00

16 lines
298 B
Plaintext

# Logrotate file for psacct RPM
/var/account/pacct {
compress
delaycompress
notifempty
daily
rotate 31
create 0600 root root
postrotate
if /etc/init.d/psacct status >/dev/null 2>&1; then
%{_sbindir}/accton /var/account/pacct
fi
endscript
}