always chown webroot for better mounting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user