Add variable for setting UMASK

This commit is contained in:
tobbenb 2019-08-06 23:08:25 +02:00 committed by Ryan Kuba
parent bfde6172e8
commit c6a7743691
3 changed files with 14 additions and 0 deletions

View file

@ -1,5 +1,10 @@
#!/usr/bin/with-contenv bash
UMASK_SET=${UMASK_SET:-022}
umask "$UMASK_SET"
echo "Starting Plex Media Server."
export PLEX_MEDIA_SERVER_INFO_MODEL=$(uname -m)
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=$(uname -r)