|
@@ -8,7 +8,7 @@ tail -f /root/.wine/drive_c/services/analis/log/fatal.log | while read fread; do
|
|
|
if [ ! -z ${DEBUG} ] && [ ${DEBUG} == "true" ]
|
|
|
then
|
|
|
touch /root/.wine/drive_c/services/analis/debug.log
|
|
|
- ln -sf /dev/stdout /root/.wine/drive_c/services/analis/debug.log
|
|
|
+ tail -f /root/.wine/drive_c/services/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" "/root/.wine/drive_c/services/analis/AnalisServer.exe" "/debug" "debugfile=/root/.wine/drive_c/services/analis/debug.log" "$@"
|
|
|
else
|
|
|
exec "/usr/bin/xvfb-run" "-a" "wine" "/root/.wine/drive_c/services/analis/AnalisServer.exe" "$@"
|