From cd60df3e13c93bec3a83314f0e17581500c35a98 Mon Sep 17 00:00:00 2001 From: AleaJactaEst Date: Thu, 26 Jul 2018 15:57:05 +0200 Subject: [PATCH] adding pymanager --- server/debian/stretch/x86_64/server-container.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/server/debian/stretch/x86_64/server-container.sh b/server/debian/stretch/x86_64/server-container.sh index e4028a3..85bbbe9 100755 --- a/server/debian/stretch/x86_64/server-container.sh +++ b/server/debian/stretch/x86_64/server-container.sh @@ -52,6 +52,7 @@ declare DIRKHANAT="$ROOTDATAKHANAT/khanat" declare KHANAT_RESSOURCES_DIR="" declare KHANAT_CLIENT_DATA_DIR="" declare OPENNEL_CODE_DIR="" +declare PYMANAGER="" declare STEP_CONFIGURE_OK="$ROOTDATAKHANAT/khanat/step_configure.ok" declare DIRCLIENT="Khanat_Linux64" declare PACKAGECLIENT="smokey_linux64" @@ -86,6 +87,7 @@ options: --khanat-ressources-dir=[DIR] : localization khanat-ressources --khanat-client-data-dir=[DIR] : localization khanat-client-data --opennel-code-dir=[DIR] : localization opennel-code + --pymanager-dir=[DIR] : localization pymanager --start-khanat-with-screen : start with screen --start-khanat-with-khanat-log : start server khanat and show khanat log --start-khanat-with-full-log : start server khanat and show full log @@ -228,6 +230,10 @@ do OPENNEL_CODE_DIR="${1#*=}" shift ;; + --pymanager-dir=*) + PYMANAGER_DIR="${1#*=}" + shift + ;; -w|--clean-images-none) CLEANIMAGENONE=1 shift @@ -347,6 +353,10 @@ then then OPENNEL_CODE_DIR="$(dirname $rootdir)/khanat-opennel-code" fi + if [[ -z "$PYMANAGER_DIR" ]] + then + PYMANAGER_DIR="$(dirname $rootdir)/opennel-pymanager" + fi if [[ ! (-f $rootdir/$STEP_CONFIGURE_OK) ]] then CONFIGUREKHANATSERVER=1 @@ -363,6 +373,7 @@ msg_debug "[$(basename $0):$LINENO] generate basic image: $BASICSERVER" msg_debug "[$(basename $0):$LINENO] localization khanat-ressources : ${KHANAT_RESSOURCES_DIR}" msg_debug "[$(basename $0):$LINENO] localization khanat-client-data: ${KHANAT_CLIENT_DATA_DIR}" msg_debug "[$(basename $0):$LINENO] localization opennel-code-client : ${OPENNEL_CODE_DIR}" +msg_debug "[$(basename $0):$LINENO] localization opennel-pymanager : ${PYMANAGER_DIR}" msg_debug "[$(basename $0):$LINENO] generate khanat image: $KHANATSERVER" msg_debug "[$(basename $0):$LINENO] launch khanat: $LAUNCHKHANAT" msg_debug "[$(basename $0):$LINENO] stop khanat: $STOPKHANAT"