23 lines
626 B
Bash
23 lines
626 B
Bash
|
#!/bin/sh
|
||
|
# Adempiere Server Start
|
||
|
#
|
||
|
# $Id: RUN_Server2.sh,v 1.22 2005/10/26 00:38:18 jjanke Exp $
|
||
|
|
||
|
if [ $ADEMPIERE_HOME ]; then
|
||
|
cd $ADEMPIERE_HOME/utils
|
||
|
fi
|
||
|
|
||
|
. ./myEnvironment.sh Server
|
||
|
|
||
|
# To use your own Encryption class (implementing org.compiere.util.SecureInterface),
|
||
|
# you need to set it here (and in the client start script) - example:
|
||
|
# SECURE=-DADEMPIERE_SECURE=org.compiere.util.Secure
|
||
|
SECURE=
|
||
|
|
||
|
# headless option if you don't have X installed on the server
|
||
|
JAVA_OPTS="-server $ADEMPIERE_JAVA_OPTIONS $SECURE -Djava.awt.headless=true"
|
||
|
|
||
|
export JAVA_OPTS
|
||
|
|
||
|
$JBOSS_HOME/bin/run.sh -c adempiere -b $ADEMPIERE_APPS_SERVER
|