Fix variable name
This commit is contained in:
parent
56ef144c16
commit
704d695272
|
@ -18,7 +18,7 @@ DS_LOG_DIR="${LOG_DIR}/documentserver"
|
||||||
LIB_DIR="/var/lib/${COMPANY_NAME}"
|
LIB_DIR="/var/lib/${COMPANY_NAME}"
|
||||||
DS_LIB_DIR="${LIB_DIR}/documentserver"
|
DS_LIB_DIR="${LIB_DIR}/documentserver"
|
||||||
CONF_DIR="/etc/${COMPANY_NAME}/documentserver"
|
CONF_DIR="/etc/${COMPANY_NAME}/documentserver"
|
||||||
LOCAL_SSL_DIR="/etc/supervisor/conf.d"
|
SUPERVISOR_CONF_DIR="/etc/supervisor/conf.d"
|
||||||
IS_UPGRADE="false"
|
IS_UPGRADE="false"
|
||||||
|
|
||||||
ONLYOFFICE_DATA_CONTAINER=${ONLYOFFICE_DATA_CONTAINER:-false}
|
ONLYOFFICE_DATA_CONTAINER=${ONLYOFFICE_DATA_CONTAINER:-false}
|
||||||
|
@ -169,11 +169,11 @@ deprecated_var() {
|
||||||
|
|
||||||
update_local_ssl() {
|
update_local_ssl() {
|
||||||
if [[ -n ${NODE_OPTIONS} ]]; then
|
if [[ -n ${NODE_OPTIONS} ]]; then
|
||||||
for file in ${LOCAL_SSL_DIR}/ds-converter.conf ${LOCAL_SSL_DIR}/ds-docservice.conf
|
for file in ${SUPERVISOR_CONF_DIR}/ds-converter.conf ${SUPERVISOR_CONF_DIR}/ds-docservice.conf
|
||||||
do
|
do
|
||||||
sed -i "s/environment.*/&\,NODE_OPTIONS=${NODE_OPTIONS}/g" $file
|
sed -i "s/environment.*/&\,NODE_OPTIONS=${NODE_OPTIONS}/g" $file
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue