update formatting

This commit is contained in:
aptalca 2022-07-18 10:17:18 -04:00
parent 1506ab2011
commit f2325f30fe
7 changed files with 221 additions and 227 deletions

View file

@ -1,14 +1,8 @@
#!/usr/bin/with-contenv bash
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)
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=$(uname -r)
exec \
s6-setuidgid abc \
/usr/lib/plexmediaserver/Plex\ Media\ Server
s6-setuidgid abc \
/usr/lib/plexmediaserver/Plex\ Media\ Server