mirror of
https://github.com/Misterblue/convoar.git
synced 2026-08-14 00:57:55 +00:00
Added "--rm" parameter to Docker container invocation. Comments and 'exit' added to Docker running script.
16 lines
468 B
Bash
Executable File
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
|