Refactoring code

This commit is contained in:
danilapog 2022-07-11 17:18:53 +03:00
parent cc89c6d299
commit 65329cbd8b

View file

@ -173,7 +173,7 @@ update_supervisor_config() {
if [[ -z ${RESULT} ]]; then
for file in ${SUPERVISOR_CONF_DIR}/ds-converter.conf ${SUPERVISOR_CONF_DIR}/ds-docservice.conf
do
sed -i -e "s|environment.*|&\,NODE_OPTIONS=${NODE_OPTIONS}|g" $file &> /dev/null
sed -i "s|environment.*|&\,NODE_OPTIONS=${NODE_OPTIONS}|g" $file &> /dev/null
sed -i 's/\r//g' $file &> /dev/null
done
fi