Set Plex Start/Stop commands for HOTIO

The if commands to set start and stop commands were never reached for HOTIO.
This commit is contained in:
CLHatch 2023-03-30 03:59:38 -05:00 committed by GitHub
parent 5a08d0ac41
commit a50cc39c46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -480,6 +480,11 @@ HostConfig() {
DBDIR="$AppSuppDir/Plug-in Support/Databases"
LOGFILE="$DBDIR/DBRepair.log"
LOG_TOOL="logger"
if [ -d /run/service/plex ]; then
HaveStartStop=1
StartCommand="s6-svc -u /run/service/plex"
StopCommand="s6-svc -d /run/service/plex"
fi
HostType="HOTIO"
return 0