[packages/tmpwatch] keep java hsperfdata files

glen glen at pld-linux.org
Wed Apr 19 11:36:15 CEST 2017


commit 2f4097748d7e888fa0c64d57d886af21308047ba
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Apr 19 12:34:44 2017 +0300

    keep java hsperfdata files
    
    needed for apps like jira gc statistics to work
    -Djava.io.tmpdir= override did not help, so fixing more general way

 tmpwatch.cron | 1 +
 tmpwatch.spec | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tmpwatch.spec b/tmpwatch.spec
index f6ead9f..692ca3a 100644
--- a/tmpwatch.spec
+++ b/tmpwatch.spec
@@ -11,7 +11,7 @@ Summary(ru.UTF-8):	Утилита удаления файлов по крите
 Summary(uk.UTF-8):	Утиліта видалення файлів за критерієм давності останнього доступу
 Name:		tmpwatch
 Version:	2.11
-Release:	10
+Release:	11
 License:	GPL v2
 Group:		Applications/System
 Source0:	https://fedorahosted.org/releases/t/m/tmpwatch/%{name}-%{version}.tar.bz2
diff --git a/tmpwatch.cron b/tmpwatch.cron
index 93b54d9..2dfc029 100755
--- a/tmpwatch.cron
+++ b/tmpwatch.cron
@@ -15,6 +15,7 @@ fi
 	-x /tmp/.ICE-unix \
 	-x /tmp/.Test-unix \
 	-X /tmp/.s.PGSQL.\* \
+	-X /tmp/hsperfdata_\* \
 	240 /tmp
 
 # Cleanup amavis quarantine:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tmpwatch.git/commitdiff/2f4097748d7e888fa0c64d57d886af21308047ba



More information about the pld-cvs-commit mailing list