Service fails to start if accounting file already exists (#974716)
This commit is contained in:
parent
33de87e741
commit
779e491202
@ -1,3 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
ACCTFILE=/var/account/pacct
|
ACCTFILE=/var/account/pacct
|
||||||
[ ! -r $ACCTFILE ] && touch $ACCTFILE && chmod 600 $ACCTFILE
|
if [ ! -r $ACCTFILE ];then
|
||||||
|
touch $ACCTFILE && chmod 600 $ACCTFILE
|
||||||
|
fi
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
Summary: Utilities for monitoring process activities
|
Summary: Utilities for monitoring process activities
|
||||||
Name: psacct
|
Name: psacct
|
||||||
Version: 6.6.1
|
Version: 6.6.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: ftp://ftp.gnu.org/pub/gnu/acct/
|
URL: ftp://ftp.gnu.org/pub/gnu/acct/
|
||||||
@ -140,6 +140,9 @@ fi
|
|||||||
%{_infodir}/accounting.info.gz
|
%{_infodir}/accounting.info.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 17 2013 Jaromir Capik <jcapik@redhat.com> - 6.6.1-3
|
||||||
|
- Service fails to start if accounting file already exists (#974716)
|
||||||
|
|
||||||
* Thu Apr 11 2013 Jaromir Capik <jcapik@redhat.com> - 6.6.1-2
|
* Thu Apr 11 2013 Jaromir Capik <jcapik@redhat.com> - 6.6.1-2
|
||||||
- Logfile creation in the systemd unit file (#918132)
|
- Logfile creation in the systemd unit file (#918132)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user