From 80906b4d201222728602b50254bd3dce53ade7fc Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 27 Aug 2017 16:46:44 +0100 Subject: [PATCH] Fix Plex logging by cheating with 'tail -f' --- start_pms | 2 ++ 1 file changed, 2 insertions(+) diff --git a/start_pms b/start_pms index 51d3b7f..e278eb6 100644 --- a/start_pms +++ b/start_pms @@ -42,4 +42,6 @@ if [ -f "$PIDFILE" ]; then rm -f "$PIDFILE" 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"