mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-12-20 11:34:36 +00:00
Merge branch 'master' into pass
This commit is contained in:
commit
f0565fa9e2
@ -11,7 +11,7 @@ export PLEX_MEDIA_SERVER_CONFIG_DIR="${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR
|
||||
if [ ! -d "$PLEX_MEDIA_SERVER_CONFIG_DIR" ]
|
||||
then
|
||||
mkdir -p "$PLEX_MEDIA_SERVER_CONFIG_DIR" && \
|
||||
chown $UID:$GID "$PLEX_MEDIA_SERVER_CONFIG_DIR"
|
||||
chown $SUID:$SGID "$PLEX_MEDIA_SERVER_CONFIG_DIR"
|
||||
if [ ! $? -eq 0 ]
|
||||
then
|
||||
echo "WARNING COULDN'T CREATE $PLEX_MEDIA_SERVER_CONFIG_DIR, MAKE SURE I HAVE PERMISSON TO DO THAT!"
|
||||
@ -34,7 +34,7 @@ export LD_LIBRARY_PATH="${PLEX_MEDIA_SERVER_HOME}:$LD_LIBRARY_PATH"
|
||||
export TMPDIR="${PLEX_MEDIA_SERVER_TMPDIR}"
|
||||
|
||||
# Allow Plex group to write to tmpdir
|
||||
chgrp $GID "$TMPDIR"
|
||||
chgrp $SGID "$TMPDIR"
|
||||
chmod g+rwx "$TMPDIR"
|
||||
|
||||
PIDFILE="${PLEX_MEDIA_SERVER_CONFIG_DIR}/plexmediaserver.pid"
|
||||
|
Loading…
Reference in New Issue
Block a user