Skip to content
Snippets Groups Projects
Commit 6f7905f7 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

Change also the start scripts for devices servers, forgot an exit -1

parent eb63756c
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ if [ ${#} -eq 1 ]; then ...@@ -10,6 +10,7 @@ if [ ${#} -eq 1 ]; then
instance="${1}" instance="${1}"
else else
echo "The instance of this device server must be provided!" echo "The instance of this device server must be provided!"
exit -1
fi fi
containerPath=${myDir//${HOME}\//\/hosthome\/} containerPath=${myDir//${HOME}\//\/hosthome\/}
docker exec -it itango python3 ${containerPath}/${runThis} ${instance} docker exec -it itango python3 ${containerPath}/${runThis} ${instance}
...@@ -10,6 +10,7 @@ if [ ${#} -eq 1 ]; then ...@@ -10,6 +10,7 @@ if [ ${#} -eq 1 ]; then
instance="${1}" instance="${1}"
else else
echo "The instance of this device server must be provided!" echo "The instance of this device server must be provided!"
exit -1
fi fi
containerPath=${myDir//${HOME}\//\/hosthome\/} containerPath=${myDir//${HOME}\//\/hosthome\/}
docker exec -it itango python3 ${containerPath}/${runThis} ${instance} docker exec -it itango python3 ${containerPath}/${runThis} ${instance}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment