Fix Plex logging by cheating with 'tail -f'
This commit is contained in:
parent
69a9f53e64
commit
80906b4d20
@ -42,4 +42,6 @@ if [ -f "$PIDFILE" ]; then
|
|||||||
rm -f "$PIDFILE"
|
rm -f "$PIDFILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
tail -F "$PLEX_MEDIA_SERVER_CONFIG_DIR/Logs/Plex Media Server.log" >/proc/1/fd/1 2>/dev/null &
|
||||||
|
|
||||||
exec su-exec $UID:$GID "$PLEX_MEDIA_SERVER_HOME/Plex Media Server"
|
exec su-exec $UID:$GID "$PLEX_MEDIA_SERVER_HOME/Plex Media Server"
|
||||||
|
Loading…
Reference in New Issue
Block a user