Add HOTIO container support

Thanks to @causefx and @sittingmongoose.
This commit is contained in:
ChuckPa
2023-01-07 20:07:20 -05:00
parent 6b675bc2b3
commit 28cc96e32f
2 changed files with 23 additions and 8 deletions

View File

@@ -395,11 +395,10 @@ HostConfig() {
HostType="ASUSTOR"
return 0
# Docker
# Docker
elif [ "$(grep docker /proc/1/cgroup | wc -l)" -gt 0 ] || [ "$(grep 0::/ /proc/1/cgroup)" = "0::/" ]; then
# Docker (All main docker variants except binhex)
# Docker (All main docker variants except binhex and hotio)
if [ -d "/config/Library/Application Support" ]; then
PLEX_SQLITE="/usr/lib/plexmediaserver/Plex SQLite"
@@ -424,6 +423,19 @@ HostConfig() {
HostType="BINHEX"
return 0
# HOTIO Plex container
elif [ -d "/config/Plug-in Support" ]; then
PLEX_SQLITE="/app/usr/lib/plexmediaserver/Plex SQLite"
AppSuppDir="/config"
PID_FILE="$AppSuppDir/plexmediaserver.pid"
DBDIR="$AppSuppDir/Plug-in Support/Databases"
LOGFILE="$DBDIR/DBRepair.log"
LOG_TOOL="logger"
HostType="HOTIO"
return 0
fi