|
@@ -14,7 +14,7 @@ if [ ! -z ${DEBUG} ] && [ ${DEBUG} == "true" ]
|
|
|
then
|
|
|
touch /opt/analis/debug.log
|
|
|
tail -f /opt/analis/debug.log 2> /dev/null | while read fread; do echo "[debug.log]: ${fread}"; :> /root/.wine/drive_c/services/analis/debug.log; done &
|
|
|
- exec "/usr/bin/xvfb-run" "-a" "wine" "/opt/analis/AnalisServer.exe" "/debug" "debugfile=/opt/analis/debug.log" "$@"
|
|
|
+ exec "/usr/bin/xvfb-run" "-a" "wine" "/opt/analis/AnalisServer.exe" "/app" "/debug" "debugfile=/opt/analis/debug.log" "$@"
|
|
|
else
|
|
|
- exec "/usr/bin/xvfb-run" "-a" "wine" "/opt/analis/AnalisServer.exe" "$@"
|
|
|
+ exec "/usr/bin/xvfb-run" "-a" "wine" "/opt/analis/AnalisServer.exe" "/app" "$@"
|
|
|
fi
|