mirror of
https://github.com/linuxserver/docker-jellyfin.git
synced 2026-01-23 02:14:30 +00:00
Deprecate UMASK_SET in favor of UMASK in baseimage
This commit is contained in:
parent
c95a3de23f
commit
54c0c895e1
3 changed files with 9 additions and 10 deletions
|
|
@ -3,11 +3,12 @@
|
|||
export JELLYFIN_DATA_DIR="/config/data" \
|
||||
JELLYFIN_CONFIG_DIR="/config" \
|
||||
JELLYFIN_LOG_DIR="/config/log" \
|
||||
JELLYFIN_CACHE_DIR="/config/cache"
|
||||
JELLYFIN_CACHE_DIR="/config/cache"
|
||||
|
||||
# set umask
|
||||
UMASK_SET=${UMASK_SET:-022}
|
||||
umask "$UMASK_SET"
|
||||
if [ -n "${UMASK_SET}" ] && [ -z "${UMASK}" ]; then
|
||||
echo -e "You are using a legacy method of defining umask\nplease update your environment variable from UMASK_SET to UMASK\nto keep the functionality after July 2021"
|
||||
umask ${UMASK_SET}
|
||||
fi
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc /usr/bin/jellyfin \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue