Skip to content

Commit

Permalink
CE: Путь каталога кластера Windows (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
slothfk committed May 24, 2021
1 parent 1f7e464 commit c0b55d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/1c_common_module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function get_server_directory {
'$3 ~ uid {print $6}' /etc/passwd)/.1cv8/1C/1cv8"
else
SRV1CV8_DATA="$(wmic path win32_process where "caption like 'ragent.exe'" get commandline /format:csv | \
awk -F, '/ragent/ { print $2 }' | sed -re 's/.*-d "([^"]+).*/\1/')"
awk -F, '/ragent/ { print $2 }' | sed -re 's/.*-d "([^"]+).*/\1/; s/^/\//; s/\\/\//g; s/://')"
#TODO: Задавать значение SRV1CV8_DATA в случае если не удалось определить из строки запуска
# (такое возможно при ручном запуске ragent)
fi
Expand Down

0 comments on commit c0b55d5

Please sign in to comment.