mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2025-11-06 03:08:55 -05:00
Merge pull request #54 from CLHatch/patch-1
Set Plex Start/Stop commands for HOTIO
This commit is contained in:
commit
199cf3d385
@ -480,6 +480,11 @@ HostConfig() {
|
|||||||
DBDIR="$AppSuppDir/Plug-in Support/Databases"
|
DBDIR="$AppSuppDir/Plug-in Support/Databases"
|
||||||
LOGFILE="$DBDIR/DBRepair.log"
|
LOGFILE="$DBDIR/DBRepair.log"
|
||||||
LOG_TOOL="logger"
|
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"
|
HostType="HOTIO"
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user