I'm using 0.9.16.6.1993-5089475.
In the journal, you'll see errors such as this:
Apr 27 21:17:15 ichabod systemd[1]: [/etc/systemd/system/plexmediaserver.service:14] Invalid escape sequences in line, correcting: "/bin/sh -c "/usr/lib/plexmediaserver/Plex\ Media\ Server""
You can easily fix it upstream by changing the ExecStart=
line to:
ExecStart="/usr/lib/plexmediaserver/Plex Media Server"
Which also saves the sh
parent invocation, and means journal entries have the right process name.
By the way, you don't need to / shouldn't test for existence before attempting to create a file or directory, so you can also replace the complex ExecStartPre=
line with the following:
ExecStartPre=/bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
Thanks. :-)