From 56ef144c16e47e25f41463d277bf471730c8e386 Mon Sep 17 00:00:00 2001 From: danilapog Date: Mon, 4 Jul 2022 12:17:38 +0300 Subject: [PATCH] Refactoring local openssl function line --- run-document-server.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/run-document-server.sh b/run-document-server.sh index cd9bfaf..8b8def3 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -169,16 +169,11 @@ deprecated_var() { update_local_ssl() { if [[ -n ${NODE_OPTIONS} ]]; then - if [[ ${NODE_OPTIONS} == "--use-openssl-ca" ]]; then - RESULT=$(cat ${LOCAL_SSL_DIR}/ds-converter.conf | grep -e '--use-openssl-ca') - if [[ -z ${RESULT} ]]; then for file in ${LOCAL_SSL_DIR}/ds-converter.conf ${LOCAL_SSL_DIR}/ds-docservice.conf do sed -i "s/environment.*/&\,NODE_OPTIONS=${NODE_OPTIONS}/g" $file done fi - fi - fi }