From 0bd8e1d8ee61e9b11341ee8470aa9c142a5afa2a Mon Sep 17 00:00:00 2001 From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl> Date: Fri, 1 May 2020 03:28:39 +0200 Subject: [PATCH] Generalise the DS starting script and add it to the itango tools --- RandomData-DS.sh | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 RandomData-DS.sh diff --git a/RandomData-DS.sh b/RandomData-DS.sh deleted file mode 100755 index 785f879..0000000 --- a/RandomData-DS.sh +++ /dev/null @@ -1,16 +0,0 @@ -runThis=$(basename ${0}) -runThis=${runThis//.sh/.py} -if [ -f ${runThis} ]; then - myDir=${PWD} -else - myDir=${PWD}/$(dirname ${0}) -fi - -if [ ${#} -eq 1 ]; then - instance="${1}" -else - echo "The instance of this device server must be provided!" - exit -1 -fi -containerPath=${myDir//${HOME}\//\/hosthome\/} -docker exec -it itango python3 ${containerPath}/${runThis} ${instance} -- GitLab