mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-10 15:19:09 +02:00
These changes will bring us in line with plex-overlay. - start_pms is hacky and removed, we shouldn't ship it. - the service - we had pax marking, someone removed it, but it was requested before so readding. - openrc and systemd support - Lift mirror restriction (again): https://bugs.gentoo.org/600696 Co-authored-by: Sam James <sam@cmpct.info> Signed-off-by: Joe Kappus <joe@wt.gd> Signed-off-by: Sam James <sam@gentoo.org>
10 lines
749 B
Diff
10 lines
749 B
Diff
--- ./usr/lib/plexmediaserver/lib/plexmediaserver.service.old 2020-11-22 18:18:21.258165393 +0100
|
|
+++ ./usr/lib/plexmediaserver/lib/plexmediaserver.service 2020-11-22 18:18:35.864602444 +0100
|
|
@@ -27,5 +27,6 @@
|
|
export PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \\$2}" | tr -d \\" )"; \
|
|
export PLEX_MEDIA_SERVER_INFO_DEVICE="PC"; \
|
|
export PLEX_MEDIA_SERVER_INFO_MODEL="$(uname -m)"; \
|
|
-export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION="$(grep ^VERSION= /etc/os-release | awk -F= "{print \\$2}" | tr -d \\" )"; \
|
|
+export GENTOO_PROFILE="`readlink /etc/portage/make.profile`"; \
|
|
+export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION="$${GENTOO_PROFILE#.*/profiles/}"; \
|
|
exec "/usr/lib/plexmediaserver/Plex Media Server"'
|