print error when permissions are wrong on common volumes

This commit is contained in:
bunkerity
2021-04-09 14:54:15 +02:00
parent c03d410b0a
commit aa614f82f9
4 changed files with 38 additions and 0 deletions

View File

@@ -52,6 +52,12 @@ if [ ! -f "/opt/installed" ] ; then
echo "[*] Configuring bunkerized-nginx ..."
# check permissions
/opt/entrypoint/permissions.sh
if [ "$?" -ne 0 ] ; then
exit 1
fi
# logs config
/opt/entrypoint/logs.sh