Fix ^M after sed
This commit is contained in:
parent
9755dff742
commit
cc89c6d299
|
@ -173,7 +173,8 @@ 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 "s|environment.*|&\,NODE_OPTIONS=${NODE_OPTIONS}|g" $file
|
||||
sed -i -e "s|environment.*|&\,NODE_OPTIONS=${NODE_OPTIONS}|g" $file &> /dev/null
|
||||
sed -i 's/\r//g' $file &> /dev/null
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
@ -483,7 +484,7 @@ update_nginx_settings(){
|
|||
sed 's/linux/docker/' -i ${NGINX_ONLYOFFICE_EXAMPLE_CONF}
|
||||
fi
|
||||
|
||||
documentserver-update-securelink.sh -s ${SECURE_LINK_SECRET:-$(pwgen -s 20)}
|
||||
documentserver-update-securelink.sh -s ${SECURE_LINK_SECRET:-$(pwgen -s 20)} false
|
||||
}
|
||||
|
||||
update_supervisor_settings(){
|
||||
|
|
Loading…
Reference in a new issue