add umask setting as optional variable

This commit is contained in:
thelamer
2019-08-13 09:40:46 -07:00
parent 0e4931a3a3
commit 82bd708fd2
3 changed files with 10 additions and 0 deletions

View File

@@ -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