mirror of
https://github.com/linuxserver/docker-jellyfin.git
synced 2026-01-23 02:14:30 +00:00
add umask setting as optional variable
This commit is contained in:
parent
0e4931a3a3
commit
82bd708fd2
3 changed files with 10 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue