print error when permissions are wrong on common volumes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user