rpms/boinc-client/F-10 boinc-client-logrotate-d, 1.1, 1.2 boinc-client.spec, 1.28, 1.29
Miloš Jakubíček
mjakubicek at fedoraproject.org
Wed Apr 8 00:01:33 UTC 2009
Author: mjakubicek
Update of /cvs/pkgs/rpms/boinc-client/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12541
Modified Files:
boinc-client-logrotate-d boinc-client.spec
Log Message:
- Fix logrotate script (resolves BZ#494179).
Index: boinc-client-logrotate-d
===================================================================
RCS file: /cvs/pkgs/rpms/boinc-client/F-10/boinc-client-logrotate-d,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- boinc-client-logrotate-d 25 Mar 2008 20:13:30 -0000 1.1
+++ boinc-client-logrotate-d 8 Apr 2009 00:01:02 -0000 1.2
@@ -9,7 +9,8 @@
# Author: Kathryn Marks <kathryn.boinc at gmail.com>
# Created: October 6, 2007
-# Last Modified: October 15, 2007
+# Modified: Milos Jakubicek <xjakub at fi.muni.cz>
+# Last Modified: April 7, 2009
######################################################################
# Global Parameters
@@ -22,55 +23,24 @@
# Log Specific Parameters
-# boinc.log
+# boinc.log and boincerr.log
-# Normal usage:
-# Rotate weekly and keep about 2 months worth
-
-/var/log/boinc.log
-{
- weekly
- rotate 8
- create 664 boinc boinc
- sharedscripts
- prerotate
- if [ -f /var/lock/subsys/boinc ]; then
- touch /var/run/boinc_was_running
- /etc/init.d/boinc stop
- fi
- endscript
- postrotate
- if [ -f /var/run/boinc_was_running ]; then
- rm /var/run/boinc_was_running
- /etc/init.d/boinc start
- fi
- endscript
-}
-
-
-# boincerr.log
-
-# Normal usage:
-# Rotate monthly and keep about 2 months worth
-
-/var/log/boincerr.log
+/var/log/boinc.log /var/log/boincerr.log
{
- monthly
- rotate 2
- create 664 boinc boinc
- sharedscripts
- prerotate
- if [ -f /var/lock/subsys/boinc ]; then
- touch /var/run/boinc_was_running
- /etc/init.d/boinc stop
- fi
- endscript
- postrotate
- if [ -f /var/run/boinc_was_running ]; then
- rm /var/run/boinc_was_running
- /etc/init.d/boinc start
- fi
- endscript
+ create 664 boinc boinc
+ sharedscripts
+ prerotate
+ if [ -f /var/lock/subsys/boinc ]; then
+ touch /var/run/boinc_was_running
+ /etc/init.d/boinc-client stop
+ fi
+ endscript
+ postrotate
+ if [ -f /var/run/boinc_was_running ]; then
+ rm /var/run/boinc_was_running
+ /etc/init.d/boinc-client start
+ fi
+ endscript
}
## EOF ##
Index: boinc-client.spec
===================================================================
RCS file: /cvs/pkgs/rpms/boinc-client/F-10/boinc-client.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- boinc-client.spec 27 Mar 2009 14:53:49 -0000 1.28
+++ boinc-client.spec 8 Apr 2009 00:01:02 -0000 1.29
@@ -4,7 +4,7 @@
Summary: The BOINC client core
Name: boinc-client
Version: 6.4.7
-Release: 8.r%{revision}svn%{?dist}
+Release: 9.r%{revision}svn%{?dist}
License: LGPLv2+
Group: Applications/Engineering
URL: http://boinc.berkeley.edu/
@@ -331,6 +331,9 @@
%{_includedir}/boinc/*
%changelog
+* Wed Apr 08 2009 Milos Jakubicek <xjakub at fi.muni.cz> - 6.4.7-9.r17542svn
+- Fix logrotate script (resolves BZ#494179).
+
* Fri Mar 27 2009 Milos Jakubicek <xjakub at fi.muni.cz> - 6.4.7-8.r17542svn
- Make the -doc subpackage noarch.
More information about the fedora-extras-commits
mailing list