Merge pull request #27 from smith64fx/patch-1

Better verify of permissions
This commit is contained in:
Richard Harvey
2016-01-16 21:07:24 +00:00

View File

@@ -43,5 +43,8 @@ if [[ "$TEMPLATE_NGINX_HTML" != "0" ]] ; then
done
fi
# Again set the right permissions (needed when mounting from a volume)
chown -Rf www-data.www-data /usr/share/nginx/html/
# Start supervisord and services
/usr/bin/supervisord -n -c /etc/supervisord.conf