auto-import changelog data from psacct-6.3.2-24.src.rpm
Thu Aug 22 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-24 - Fixed initscript reload/restart by creating start/stop functions and making everything use them (#72261)
This commit is contained in:
parent
46cc9b716f
commit
7defba6ce7
17
psacct.init
17
psacct.init
@ -13,16 +13,23 @@
|
|||||||
# The location of the accounting file
|
# The location of the accounting file
|
||||||
ACCTFILE=/var/account/pacct
|
ACCTFILE=/var/account/pacct
|
||||||
|
|
||||||
# See how we were called.
|
start() {
|
||||||
case "$1" in
|
|
||||||
start)
|
|
||||||
[ ! -r $ACCTFILE ] && touch $ACCTFILE && chmod 600 $ACCTFILE
|
[ ! -r $ACCTFILE ] && touch $ACCTFILE && chmod 600 $ACCTFILE
|
||||||
action $"Starting process accounting: " /sbin/accton $ACCTFILE
|
action $"Starting process accounting: " /sbin/accton $ACCTFILE
|
||||||
touch /var/lock/subsys/psacct
|
touch /var/lock/subsys/psacct
|
||||||
;;
|
}
|
||||||
stop)
|
|
||||||
|
stop() {
|
||||||
action $"Shutting down process accounting: " /sbin/accton
|
action $"Shutting down process accounting: " /sbin/accton
|
||||||
rm -f /var/lock/subsys/psacct
|
rm -f /var/lock/subsys/psacct
|
||||||
|
}
|
||||||
|
# See how we were called.
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
start
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
stop
|
||||||
;;
|
;;
|
||||||
status)
|
status)
|
||||||
if [ -e /var/lock/subsys/psacct ]; then
|
if [ -e /var/lock/subsys/psacct ]; then
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
Summary: Utilities for monitoring process activities.
|
Summary: Utilities for monitoring process activities.
|
||||||
Name: psacct
|
Name: psacct
|
||||||
Version: 6.3.2
|
Version: 6.3.2
|
||||||
Release: 23
|
Release: 24
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Source: ftp://ftp.gnu.org/pub/gnu/acct-6.3.2.tar.gz
|
Source: ftp://ftp.gnu.org/pub/gnu/acct-6.3.2.tar.gz
|
||||||
@ -138,6 +138,10 @@ fi
|
|||||||
%{_infodir}/accounting.info.gz
|
%{_infodir}/accounting.info.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 22 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-24
|
||||||
|
- Fixed initscript reload/restart by creating start/stop functions and
|
||||||
|
making everything use them (#72261)
|
||||||
|
|
||||||
* Tue Aug 6 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-23
|
* Tue Aug 6 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-23
|
||||||
- Fixed chkconfig issue in rpm scripts (#61191)
|
- Fixed chkconfig issue in rpm scripts (#61191)
|
||||||
- Excludearch ia64, not taking the time to debug/troubleshoot random
|
- Excludearch ia64, not taking the time to debug/troubleshoot random
|
||||||
|
Loading…
Reference in New Issue
Block a user