Merge pull request #338 from linuxserver/revert-337-jammy
Revert "rebase plex to jammy, update to s6v3, remove opencl drivers"pull/339/head
commit
68208c6464
@ -1,10 +1,6 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if grep -qs "PlexOnlineToken" "/config/Library/Application Support/Plex Media Server/Preferences.xml"; then
|
||||
echo "**** Server already claimed ****"
|
||||
exit 0
|
||||
elif [ -z "$PLEX_CLAIM" ]; then
|
||||
echo "**** Server is unclaimed, but no claim token has been set ****"
|
||||
if grep -qs "PlexOnlineToken" "/config/Library/Application Support/Plex Media Server/Preferences.xml" || [ -z "$PLEX_CLAIM" ]; then
|
||||
exit 0
|
||||
fi
|
||||
PREFNAME="/config/Library/Application Support/Plex Media Server/Preferences.xml"
|
@ -1 +0,0 @@
|
||||
oneshot
|
@ -1 +0,0 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-plex-chown/run
|
@ -1 +0,0 @@
|
||||
oneshot
|
@ -1 +0,0 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-plex-claim/run
|
@ -1 +0,0 @@
|
||||
oneshot
|
@ -1 +0,0 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-plex-gid-video/run
|
@ -1 +0,0 @@
|
||||
oneshot
|
@ -1 +0,0 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-plex-update/run
|
@ -1 +0,0 @@
|
||||
3
|
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
echo "Starting Plex Media Server. . . (you can ignore the libusb_init error)"
|
||||
export PLEX_MEDIA_SERVER_INFO_MODEL=$(uname -m)
|
||||
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=$(uname -r)
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 32400" \
|
||||
s6-setuidgid abc "/usr/lib/plexmediaserver/Plex Media Server"
|
@ -1 +0,0 @@
|
||||
longrun
|
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
echo "Starting Plex Media Server."
|
||||
export PLEX_MEDIA_SERVER_INFO_MODEL=$(uname -m)
|
||||
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=$(uname -r)
|
||||
exec \
|
||||
s6-setuidgid abc \
|
||||
/usr/lib/plexmediaserver/Plex\ Media\ Server
|
Loading…
Reference in new issue