always chown webroot for better mounting

This commit is contained in:
Jack McNicol
2016-07-22 02:13:17 +09:30
parent 7e58270683
commit 52ef7b848c

View File

@@ -39,7 +39,6 @@ if [ ! -d "${webroot}/.git" ]; then
else
git clone $GIT_REPO $webroot
fi
chown -Rf nginx.nginx /var/www/html
fi
fi
@@ -85,5 +84,8 @@ if [[ "$TEMPLATE_NGINX_HTML" == "1" ]] ; then
done
fi
# Always chown webroot for better mounting
chown -Rf nginx.nginx $webroot
# Start supervisord and services
/usr/bin/supervisord -n -c /etc/supervisord.conf