-
-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ DietPi-Software | Plex Media Server: When Unbound is installed, add "plex.direct" to private domains to fix secure remote access via app.plex.tv: https://dietpi.com/phpbb/viewtopic.php?t=8896
- Loading branch information
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4753,6 +4753,9 @@ amvdec_vp9' > /etc/modules-load.d/dietpi-c4-kodi.conf | |
G_EXEC sed -i '/^[[:blank:]]*PIHOLE_DNS_2=/d' /etc/pihole/setupVars.conf | ||
fi | ||
fi | ||
|
||
# Plex Media Server: Fix secure remote access: https://dietpi.com/phpbb/viewtopic.php?t=8896 | ||
(( ${aSOFTWARE_INSTALL_STATE[42]} > 0 )) && echo -e 'server:\n\tprivate-domain: "plex.direct"' > /etc/unbound/unbound.conf.d/dietpi-plex.conf | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
MichaIng
Author
Owner
|
||
fi | ||
|
||
software_id=93 # Pi-hole | ||
|
@@ -10789,6 +10792,9 @@ location = /.well-known/caldav { | |
G_EXEC mkdir -p /etc/systemd/system/plexmediaserver.service.d | ||
echo -e '[Service]\nGroup=' > /etc/systemd/system/plexmediaserver.service.d/dietpi-group.conf | ||
|
||
# Unbound: Fix secure remote access: https://dietpi.com/phpbb/viewtopic.php?t=8896 | ||
(( ${aSOFTWARE_INSTALL_STATE[182]} == 2 )) && echo -e 'server:\n\tprivate-domain: "plex.direct"' > /etc/unbound/unbound.conf.d/dietpi-plex.conf | ||
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
Download_Test_Media | ||
|
||
fi | ||
|
@@ -15018,7 +15024,7 @@ _EOF_ | |
fi | ||
[[ -d '/var/lib/plexmediaserver' ]] && rm -R /var/lib/plexmediaserver # Left over from purging package, still... | ||
[[ -d '/etc/systemd/system/plexmediaserver.service.d' ]] && rm -R /etc/systemd/system/plexmediaserver.service.d | ||
|
||
[[ -f '/etc/unbound/unbound.conf.d/dietpi-plex.conf' ]] && rm /etc/unbound/unbound.conf.d/dietpi-plex.conf | ||
fi | ||
|
||
software_id=52 # Cuberite | ||
|
should we check if the file already exist? Like an re-install?