Browse Source

See Redmine 135606

Tomishinets Vladimir 4 years ago
parent
commit
873710ca43
1 changed files with 2 additions and 2 deletions
  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