mirror of
https://github.com/linuxserver/docker-jellyfin.git
synced 2026-02-15 17:08:28 +09:00
16 lines
365 B
Plaintext
16 lines
365 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" \
|
|
JELLYFIN_WEB_DIR="/usr/share/jellyfin/web"
|
|
|
|
# set umask
|
|
UMASK_SET=${UMASK_SET:-022}
|
|
umask "$UMASK_SET"
|
|
|
|
exec \
|
|
s6-setuidgid abc /usr/bin/jellyfin \
|
|
--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
|