Files
convoar/docker/run-convoar.sh
Robert Adams 2b81fb5f30 Cleaned up README (typos, wording)
Added "--rm" parameter to Docker container invocation.
Comments and 'exit' added to Docker running script.
2018-08-09 09:25:17 -07:00

16 lines
468 B
Bash
Executable File

#! /bin/bash
# Run convoar in a special target directory
# The idea would be the person running the docker container would
# mount the remote directory in that place.
for DIR in /home/convoar/oar /oar /tmp/oar ; do
# echo "Checking $DIR"
if [[ -d "$DIR" ]] ; then
echo "Found $DIR"
cd "$DIR"
echo "Doing: /home/convoar/convoar/dist/convoar.exe $@"
mono /home/convoar/convoar/dist/convoar.exe $@
exit $?
fi
done