fix(entrypoint): add chmod 777 on /app/recordings for Unraid nobody:users shares + update default recordings path

This commit is contained in:
Michael committed 2026-03-08 23:46:11 +01:00
1 parent 424019d01a
commit 0d2ad322fe
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ services:
# Pour changer: modifiez le chemin avant les deux points ":"
# Exemple Windows : - D:\MesVideos\TV:/app/recordings
# Exemple Linux : - /mnt/nas/videos:/app/recordings
- ${RECORDINGS_PATH:-./data/recordings}:/app/recordings
- ${RECORDINGS_PATH:-/mnt/user/Data/Sport}:/app/recordings
restart: unless-stopped
volumes:
+2
View File
@@ -11,6 +11,8 @@ chown -R xtremuser:xtremuser /app/data 2>/dev/null || true
# Create subdirectories if they don't exist
mkdir -p /app/data/logs /app/data/tmp /app/recordings
chown -R xtremuser:xtremuser /app/data/logs /app/data/tmp /app/recordings 2>/dev/null || true
# Garantir les permissions en écriture même si chown échoue (volume monté depuis l'hôte)
chmod -R 777 /app/recordings 2>/dev/null || true
# Drop privileges and run the server as xtremuser
echo "Starting server as xtremuser..."