Files
docker-jellyfin/root/etc/services.d/jellyfin/run
2020-07-21 07:42:55 -07:00

16 lines
357 B
Plaintext

#!/usr/bin/with-contenv bash
export JELLYFIN_DATA_DIR="/config/data" \
JELLYFIN_CONFIG_DIR="/config" \
JELLYFIN_LOG_DIR="/config/log" \
JELLYFIN_CACHE_DIR="/config/cache"
# set umask
UMASK_SET=${UMASK_SET:-022}
umask "$UMASK_SET"
exec \
s6-setuidgid abc /usr/bin/jellyfin \
--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg \
--webdir=/usr/share/jellyfin/web