From 3f51fcb45bd387f8d964a85883c23c02e077e113 Mon Sep 17 00:00:00 2001 From: 6ec123321 Date: Mon, 18 Nov 2019 19:43:24 +0400 Subject: [PATCH] Some fixes for start.sh --- docker/docker-py2-kms/start.sh | 2 +- docker/docker-py3-kms/start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/docker-py2-kms/start.sh b/docker/docker-py2-kms/start.sh index 2d62620..716255d 100644 --- a/docker/docker-py2-kms/start.sh +++ b/docker/docker-py2-kms/start.sh @@ -39,7 +39,7 @@ else if [ "$LOGSIZE" == "" ]; then /bin/bash -c "/usr/bin/python pykms_Server.py ${IP} ${PORT} -e ${EPID} -l ${LCID} -c ${CLIENT_COUNT} -a ${ACTIVATION_INTERVAL} -r ${RENEWAL_INTERVAL} -s -w ${HWID} -V ${LOGLEVEL} -F ${LOGFILE} &" - sleep5 + sleep 5 /usr/bin/python pykms_Client.py ${IP} ${PORT} -m Windows7 & /usr/bin/python /home/sqlite_web/sqlite_web.py -H ${IP} -x ${PWD}/clients.db else diff --git a/docker/docker-py3-kms/start.sh b/docker/docker-py3-kms/start.sh index 66fa2e0..2180747 100644 --- a/docker/docker-py3-kms/start.sh +++ b/docker/docker-py3-kms/start.sh @@ -39,7 +39,7 @@ else if [ "$LOGSIZE" == "" ]; then /bin/bash -c "/usr/bin/python3 pykms_Server.py ${IP} ${PORT} -e ${EPID} -l ${LCID} -c ${CLIENT_COUNT} -a ${ACTIVATION_INTERVAL} -r ${RENEWAL_INTERVAL} -s -w ${HWID} -V ${LOGLEVEL} -F ${LOGFILE} &" - sleep5 + sleep 5 /usr/bin/python3 pykms_Client.py ${IP} ${PORT} -m Windows10 & /usr/bin/python3 /home/sqlite_web/sqlite_web.py -H ${IP} -x ${PWD}/clients.db --read-only else