IDEMPIERE-2201 error "cp: cannot stat myEnvironment.sh: No such file or directory" when run idempiere as service
This commit is contained in:
parent
ebb5e1d6a4
commit
611ca003e9
|
@ -40,6 +40,7 @@ start () {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo -n "Starting ADempiere ERP: "
|
echo -n "Starting ADempiere ERP: "
|
||||||
|
cd $IDEMPIERE_HOME/utils
|
||||||
source $ENVFILE
|
source $ENVFILE
|
||||||
export LOGFILE=$IDEMPIERE_HOME/log/idempiere_`date +%Y%m%d%H%M%S`.log
|
export LOGFILE=$IDEMPIERE_HOME/log/idempiere_`date +%Y%m%d%H%M%S`.log
|
||||||
su $IDEMPIEREUSER -c "mkdir -p $IDEMPIERE_HOME/log"
|
su $IDEMPIEREUSER -c "mkdir -p $IDEMPIERE_HOME/log"
|
||||||
|
@ -81,6 +82,7 @@ stop () {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo -n "Stopping iDempiere ERP: "
|
echo -n "Stopping iDempiere ERP: "
|
||||||
|
cd $IDEMPIERE_HOME/utils
|
||||||
source $ENVFILE
|
source $ENVFILE
|
||||||
echo "Trying direct kill with signal -15"
|
echo "Trying direct kill with signal -15"
|
||||||
# Adempiere didn't finish - try direct kill with signal 15, then signal 9
|
# Adempiere didn't finish - try direct kill with signal 15, then signal 9
|
||||||
|
|
Loading…
Reference in New Issue