[pkg-java] r2824 - branches/tomcat5.5/feature/debian/debian

Marcus Better marcusb-guest at alioth.debian.org
Thu Nov 30 11:40:56 CET 2006


Author: marcusb-guest
Date: 2006-11-30 11:40:55 +0100 (Thu, 30 Nov 2006)
New Revision: 2824

Modified:
   branches/tomcat5.5/feature/debian/debian/rules
   branches/tomcat5.5/feature/debian/debian/tomcat5.5.postinst
Log:
Create catalina.out pipe in postinst.


Modified: branches/tomcat5.5/feature/debian/debian/rules
===================================================================
--- branches/tomcat5.5/feature/debian/debian/rules	2006-11-30 10:29:13 UTC (rev 2823)
+++ branches/tomcat5.5/feature/debian/debian/rules	2006-11-30 10:40:55 UTC (rev 2824)
@@ -62,7 +62,6 @@
 	  $(LIBTOMCAT_SHARE_DIR)/bin/*.sh \
 	  $(LIBTOMCAT_SHARE_DIR)/common/lib/{commons-*,{jsp,servlet}-api.jar} \
 	  $(LIBTOMCAT_SHARE_DIR)/server/lib/commons-*
-	mkfifo -m700 $(TOMCAT_INSTALL_DIR)/var/log/$(PKGNAME)/catalina.out
 	dh_link
 	dh_compress
 	dh_fixperms

Modified: branches/tomcat5.5/feature/debian/debian/tomcat5.5.postinst
===================================================================
--- branches/tomcat5.5/feature/debian/debian/tomcat5.5.postinst	2006-11-30 10:29:13 UTC (rev 2823)
+++ branches/tomcat5.5/feature/debian/debian/tomcat5.5.postinst	2006-11-30 10:40:55 UTC (rev 2824)
@@ -7,6 +7,9 @@
 		--ingroup nogroup --disabled-password --shell /bin/false \
 		tomcat55
 	fi
+	if [ ! -r /var/log/tomcat5.5/catalina.out ]; then
+	    mkfifo -m600 /var/log/tomcat5.5/catalina.out
+	fi
 	chown -R tomcat55:nogroup /var/log/tomcat5.5 /var/cache/tomcat5.5
 	chown tomcat55:adm /var/log/tomcat5.5 /var/cache/tomcat5.5 \
 	    /var/lib/tomcat5.5/conf




More information about the pkg-java-commits mailing list