[packages/tomcat] add missing tomcat.logrotate

glen glen at pld-linux.org
Thu Dec 19 15:36:45 CET 2013


commit c75c479af1f0ec2ebaf48b6dc5738d5a83243bdb
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Dec 19 16:36:34 2013 +0200

    add missing tomcat.logrotate

 tomcat.logrotate | 6 ++++++
 tomcat.spec      | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/tomcat.spec b/tomcat.spec
index cde7fc4..68c74b5 100644
--- a/tomcat.spec
+++ b/tomcat.spec
@@ -13,7 +13,7 @@ Summary:	Web server and Servlet/JSP Engine, RI for Servlet %{servletapiver}/JSP
 Summary(pl.UTF-8):	Serwer www i silnik Servlet/JSP będący wzorcową implementacją API Servlet %{servletapiver}/JSP %{jspapiver}
 Name:		tomcat
 Version:	7.0.41
-Release:	3
+Release:	4
 License:	Apache v2.0
 Group:		Networking/Daemons/Java
 Source0:	http://www.apache.org/dist/tomcat/tomcat-7/v%{version}/src/apache-%{name}-%{version}-src.tar.gz
diff --git a/tomcat.logrotate b/tomcat.logrotate
new file mode 100644
index 0000000..80297d8
--- /dev/null
+++ b/tomcat.logrotate
@@ -0,0 +1,6 @@
+/var/log/tomcat/*.log
+{
+	create 0644 tomcat tomcat
+	olddir /var/log/archive/tomcat
+	copytruncate
+}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tomcat.git/commitdiff/c75c479af1f0ec2ebaf48b6dc5738d5a83243bdb



More information about the pld-cvs-commit mailing list