[FIX]Nginx Odoo typo and so no empty file to begin...

This commit is contained in:
Fabien BOURGEOIS 2018-02-17 18:20:50 +01:00
parent f88ed3612d
commit 07aad0d046

View File

@ -7,7 +7,7 @@ export DOLLSIGN=$
cd /etc/nginx/templates
for tpl in * ; do
if [ $tpl = "odoo.conf" ]; then
echo '' > /etc/nginx/conf/$tpl
echo '' > /etc/nginx/conf.d/$tpl
index=0
IFS=':' read -ra ODOO_SERVICE <<< "$ODOO_SERVICE"
IFS=':' read -ra ODOO_SERVER_NAMES <<< "$ODOO_SERVER_NAMES"