Author: doogie
Date: Wed Mar 4 23:02:50 2009
New Revision: 750216
URL:
http://svn.apache.org/viewvc?rev=750216&view=revLog:
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
)
}