Ver Fonte

See Redmine 135606

Tomishinets Vladimir há 4 anos atrás
pai
commit
873710ca43
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      entrypoint.sh

+ 2 - 2
entrypoint.sh

@@ -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