dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04829
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1611: Made script independent of folder and JAVA_HOME
------------------------------------------------------------
revno: 1611
committer: Ravenna <ravenna@ravenna-laptop>
branch nick: dhis2
timestamp: Wed 2010-03-10 21:37:15 +0100
message:
Made script independent of folder and JAVA_HOME
modified:
dhis-live/util/script/startup.sh
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-live/util/script/startup.sh'
--- dhis-live/util/script/startup.sh 2010-03-09 14:43:41 +0000
+++ dhis-live/util/script/startup.sh 2010-03-10 20:37:15 +0000
@@ -23,6 +23,8 @@
echo "Starting DHIS2 live ..."
# java -jar dhis2-live.jar
-$JAVA_HOME/bin/java -jar dhis2-live.jar
+DHIS2LIVE=`dirname $0`
+#$JAVA_HOME/bin/
+java -jar $DHIS2LIVE/dhis2-live.jar
echo "DHIS2 live exited normally"
Follow ups