This commit is contained in:
Alexey Golubev 2017-05-17 16:35:54 +03:00
parent 47f2766920
commit c3c6a356d7

View file

@ -139,7 +139,7 @@ create_postgresql_cluster(){
mv $postgresql_conf $postgresql_conf.backup mv $postgresql_conf $postgresql_conf.backup
mv $hba_conf $hba_conf.backup mv $hba_conf $hba_conf.backup
pg_createcluster ${PG_VERSION} ${PG_NAME} pg_createcluster ${PG_VERSION} ${PG_NAME}
} }
@ -203,7 +203,7 @@ update_nginx_settings(){
else else
cp ${NGINX_CONFD_PATH}/onlyoffice-documentserver.conf.template ${NGINX_ONLYOFFICE_PATH} cp ${NGINX_CONFD_PATH}/onlyoffice-documentserver.conf.template ${NGINX_ONLYOFFICE_PATH}
fi fi
if [ -f "${NGINX_ONLYOFFICE_EXAMPLE_PATH}" ]; then if [ -f "${NGINX_ONLYOFFICE_EXAMPLE_PATH}" ]; then
sed 's/linux/docker/' -i ${NGINX_ONLYOFFICE_EXAMPLE_PATH} sed 's/linux/docker/' -i ${NGINX_ONLYOFFICE_EXAMPLE_PATH}
fi fi