You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/03/05 00:02:51 UTC

svn commit: r750216 - /ofbiz/trunk/debian/ofbiz-framework.ofbiz.init

Author: doogie
Date: Wed Mar  4 23:02:50 2009
New Revision: 750216

URL: http://svn.apache.org/viewvc?rev=750216&view=rev
Log:
Save a copy of the install log.

Modified:
    ofbiz/trunk/debian/ofbiz-framework.ofbiz.init

Modified: ofbiz/trunk/debian/ofbiz-framework.ofbiz.init
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.ofbiz.init?rev=750216&r1=750215&r2=750216&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.ofbiz.init (original)
+++ ofbiz/trunk/debian/ofbiz-framework.ofbiz.init Wed Mar  4 23:02:50 2009
@@ -280,12 +280,13 @@
 		jsvc -pidfile "$PIDFILE" \
 			-nodetach \
 			-user $USER \
-			-outfile /dev/tty -errfile '&1' \
+			-outfile /dev/fd/3 -errfile '&1' \
 			-home "$JAVA_HOME" -cp "$CLASSPATH" \
 			$PROPS \
 			$MEMIF \
 			$CLASS \
-			install "$@"
+			install "$@" 3>&1 | \
+			tee -a /var/log/ofbiz/install.log
 	)
 }