From e819a77656295dbbf2dbc5964372e798ec7e3096 Mon Sep 17 00:00:00 2001 From: stonebeta Date: Sun, 19 Apr 2026 18:49:48 +0800 Subject: [PATCH] perf(entrypoint): narrow chown scope to skip .venv (#1011) Reduces container startup time on low-spec devices (TrueNAS etc.) by limiting recursive chown to /app/data, /app/config, /home/ab instead of /app. Closes #969 (related performance). --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 979180b1..a3105b64 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,6 +10,6 @@ fi groupmod -o -g "${PGID}" ab usermod -o -u "${PUID}" ab -chown ab:ab -R /app /home/ab +chown ab:ab -R /app/data /app/config /home/ab exec su-exec "${PUID}:${PGID}" python main.py \ No newline at end of file