IDEMPIERE-4634 idempiere service scripts still generating myEnvironment.sav as root (#513)

This commit is contained in:
Carlos Ruiz 2021-01-08 17:00:59 +01:00 committed by GitHub
parent b71e53e81c
commit 91c5510bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,7 @@ start () {
fi
echo -n "Starting iDempiere ERP: "
cd $IDEMPIERE_HOME/utils || exit
export ID_ENV=Server
. $ENVFILE
export LOGFILE=$IDEMPIERE_HOME/log/idempiere_$(date +%Y%m%d%H%M%S).log
su $IDEMPIEREUSER -c "mkdir -p $IDEMPIERE_HOME/log"
@ -88,6 +89,7 @@ stop () {
fi
echo -n "Stopping iDempiere ERP: "
cd $IDEMPIERE_HOME/utils || exit
export ID_ENV=Server
. $ENVFILE
# try shutdown from OSGi console, then direct kill with signal 15, then signal 9
log_warning_msg "Trying shutdown from OSGi console"

View File

@ -42,6 +42,7 @@ start () {
fi
echo -n "Starting iDempiere ERP: "
cd $IDEMPIERE_HOME/utils || exit
export ID_ENV=Server
source $ENVFILE
export LOGFILE=$IDEMPIERE_HOME/log/idempiere_$(date +%Y%m%d%H%M%S).log
su $IDEMPIEREUSER -c "mkdir -p $IDEMPIERE_HOME/log"
@ -84,6 +85,7 @@ stop () {
fi
echo -n "Stopping iDempiere ERP: "
cd $IDEMPIERE_HOME/utils || exit
export ID_ENV=Server
source $ENVFILE
# try shutdown from OSGi console, then direct kill with signal 15, then signal 9
echo "Trying shutdown from OSGi console"

View File

@ -72,6 +72,7 @@ start () {
fi
echo -n "Starting iDempiere ERP: "
cd $IDEMPIERE_HOME/utils || exit
export ID_ENV=Server
. $ENVFILE
export LOGFILE=$IDEMPIERE_HOME/log/idempiere_$(date +%Y%m%d%H%M%S).log
su $IDEMPIEREUSER -c "mkdir -p $IDEMPIERE_HOME/log"
@ -115,6 +116,7 @@ stop () {
fi
echo -n "Stopping iDempiere ERP: "
cd $IDEMPIERE_HOME/utils || exit
export ID_ENV=Server
. $ENVFILE
# try shutdown from OSGi console, then direct kill with signal 15, then signal 9
log_warning_msg "Trying shutdown from OSGi console"