Browse Source

add debug info

Vadim Surkov 6 years ago
parent
commit
d7b2f84250
1 changed files with 2 additions and 2 deletions
  1. 2 2
      entrypoint.ps1

+ 2 - 2
entrypoint.ps1

@@ -16,8 +16,6 @@ if (!$env:filespath) {
 if ( (test-path("C:\ProgramData\Docker\secrets\shares.username")) -And (test-path("C:\ProgramData\Docker\secrets\shares.passwd")) ){
     $sh_username=Get-Content -path "C:\ProgramData\Docker\secrets\shares.username"
     $sh_passwd=Get-Content -path "C:\ProgramData\Docker\secrets\shares.passwd"
-echo    New-SmbMapping -RemotePath $env:logshare -UserName $sh_username -Password $sh_passwd
-echo    New-SmbMapping -RemotePath $env:filesshare -UserName $sh_username -Password $sh_passwd
     New-SmbMapping -RemotePath $env:logshare -UserName $sh_username -Password $sh_passwd
     New-SmbMapping -RemotePath $env:filesshare -UserName $sh_username -Password $sh_passwd
 }
@@ -47,3 +45,5 @@ echo -#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=-#=
 echo "Starting C:\Services\Analis\AnalisServer.exe $args"
 cmd /S /C C:\Services\Analis\AnalisServer.exe $args
 
+ls C:\Services\Analis\
+cat C:\Services\Analis\fatal.log