Fix folder path

This commit is contained in:
danilapog 2022-07-11 12:52:41 +03:00
parent 2fc44ecd72
commit 9755dff742

View file

@ -169,7 +169,7 @@ deprecated_var() {
update_supervisor_config() { update_supervisor_config() {
if [[ -n ${NODE_OPTIONS} ]]; then if [[ -n ${NODE_OPTIONS} ]]; then
RESULT=$(cat ./ds-converter.conf | grep -e 'NODE_OPTIONS') RESULT=$(cat ${SUPERVISOR_CONF_DIR}/ds-converter.conf | grep -e 'NODE_OPTIONS')
if [[ -z ${RESULT} ]]; then if [[ -z ${RESULT} ]]; then
for file in ${SUPERVISOR_CONF_DIR}/ds-converter.conf ${SUPERVISOR_CONF_DIR}/ds-docservice.conf for file in ${SUPERVISOR_CONF_DIR}/ds-converter.conf ${SUPERVISOR_CONF_DIR}/ds-docservice.conf
do do