diff --git a/abra.sh b/abra.sh index c412875..b8f2d35 100644 --- a/abra.sh +++ b/abra.sh @@ -1,2 +1,2 @@ -export APP_ENTRYPOINT_VERSION=v1 +export APP_ENTRYPOINT_VERSION=v2 export NGINX_CONFIG_VERSION=v1 diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index e4f56f6..23c6c89 100644 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -32,3 +32,8 @@ if [ ! -f "/books/metadata.db" ]; then else echo "/books/metadata.db exists, not creating another one" fi + +echo "ensuring permissions are set correctly on metadata parent directory" +/usr/bin/chmod a+rw /books + +echo "entrypoint done"