mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-11-07 23:16:04 +08:00
- Call fix_permissions only when running as root to avoid permission errors - Fix /config ownership only under root - If running as root, drop privileges via su-exec to PUID:PGID; if already non-root, execute the command as-is This prevents failures when the container is started as a non-root user (e.g., via docker-compose user) while preserving the existing behavior for root runs.
1 line
15 B
Text
Executable file
1 line
15 B
Text
Executable file
4.5.6-develop8
|