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