[9f71e2]: / Section 3 Simulate DIMSE / launch_orthanc.sh

Download this file

16 lines (15 with data), 437 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
if [[ ! -e /opt/OrthancBuild ]]; then
echo "Setting up Orthanc. This may take a moment."
# Copy Orthanc Build out of mounted disk to solve Sqlite issues
cp -r /opt/aihcnd-applications/OrthancBuild /opt/OrthancBuild &
PID=$!
i=1
sp="/-\|"
echo -n ' '
while [ -d /proc/$PID ]
do
printf "\b${sp:i++%${#sp}:1}"
sleep 0.5
done
fi
/opt/OrthancBuild/Orthanc /opt/OrthancBuild/Configuration.json