diff --git a/apps/komga/1.18.0/scripts/init.sh b/apps/komga/1.18.0/scripts/init.sh index 6f7c43ca..8a191e3d 100644 --- a/apps/komga/1.18.0/scripts/init.sh +++ b/apps/komga/1.18.0/scripts/init.sh @@ -12,7 +12,13 @@ if [ -f .env ]; then # setup-2 copy config file mkdir -p "$KOMGA_ROOT_PATH" + mkdir -p "$KOMGA_ROOT_PATH/config" + mkdir -p "$KOMGA_ROOT_PATH/data" + chown -R 1000:1000 "$KOMGA_ROOT_PATH" + chown -R 1000:1000 "$KOMGA_ROOT_PATH/config" + chown -R 1000:1000 "$KOMGA_ROOT_PATH/data" + echo "Check Finish."