fix #147782 - logrotate script error

This commit is contained in:
Ivana Varekova 2005-02-15 09:48:54 +00:00
parent 8ca63119e0
commit e22fdf28a4

View File

@ -12,7 +12,7 @@
Summary: Utilities for monitoring process activities.
Name: psacct
Version: 6.3.2
Release: 34.fc4
Release: 35
License: GPL
Group: Applications/System
Source: ftp://ftp.gnu.org/pub/gnu/acct-6.3.2.tar.gz
@ -86,19 +86,19 @@ cat > $RPM_BUILD_ROOT/etc/logrotate.d/psacct <<EOF
# Logrotate file for psacct RPM
%{accounting_logdir}/pacct {
# prerotate loses accounting records, let's no
#prerotate
# %{_sbindir}/accton
endscript
compress
delatcompress
notifempty
daily
rotate 31
create 0600 root root
postrotate
%{_sbindir}/accton %{accounting_logdir}/pacct
endscript
#prerotate loses accounting records, let's no
# prerotate
# %{_sbindir}/accton
# endscript
compress
delaycompress
notifempty
daily
rotate 31
create 0600 root root
postrotate
%{_sbindir}/accton %{accounting_logdir}/pacct
endscript
}
EOF
@ -159,6 +159,9 @@ fi
%{_infodir}/accounting.info.gz
%changelog
* Tue Feb 15 2005 Ivana Varekova <varekova@redhat.com> 6.3.2-35
- fix #147782 logrotate script error
* Thu Feb 3 2005 Charles Bennett <ccb@redhat.com> 6.3.2-33.fc4
- rhbz 133077: logrotate fixed to continue accounting during rotate
- rhbz 141802: lastcomm was not handling all forms of --strict-match