Deprecate UMASK_SET in favor of UMASK in baseimage
This commit is contained in:
parent
8e8e2f9664
commit
9a6da3e400
3 changed files with 6 additions and 7 deletions
|
|
@ -1,9 +1,10 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
|
||||
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
|
||||
|
||||
echo "Starting Plex Media Server."
|
||||
export PLEX_MEDIA_SERVER_INFO_MODEL=$(uname -m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue