mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2025-11-06 03:08:55 -05:00
Start/stop cleanup
This commit is contained in:
parent
199cf3d385
commit
621bb274d2
15
DBRepair.sh
15
DBRepair.sh
@ -499,6 +499,7 @@ HostConfig() {
|
|||||||
LOGFILE="$DBDIR/DBRepair.log"
|
LOGFILE="$DBDIR/DBRepair.log"
|
||||||
LOG_TOOL="logger"
|
LOG_TOOL="logger"
|
||||||
|
|
||||||
|
# Miscellaneous start/stop methods
|
||||||
if [ -d "/var/run/service/svc-plex" ]; then
|
if [ -d "/var/run/service/svc-plex" ]; then
|
||||||
HaveStartStop=1
|
HaveStartStop=1
|
||||||
StartCommand="s6-svc -u /var/run/service/svc-plex"
|
StartCommand="s6-svc -u /var/run/service/svc-plex"
|
||||||
@ -511,20 +512,6 @@ HostConfig() {
|
|||||||
StopCommand="s6-svc -d /var/run/s6/services/plex"
|
StopCommand="s6-svc -d /var/run/s6/services/plex"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# lsio stop
|
|
||||||
if [ -d "/var/run/service/svc-plex" ]; then
|
|
||||||
HaveStartStop=1
|
|
||||||
StartCommand="s6-svc -u /var/run/service/svc-plex"
|
|
||||||
StopCommand="s6-svc -d /var/run/service/svc-plex"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# HOTIO
|
|
||||||
if [ -d /run/service/plex ]; then
|
|
||||||
HaveStartStop=1
|
|
||||||
StartCommand="s6-svc -u /run/service/plex"
|
|
||||||
StopCommand="s6-svc -d /run/service/plex"
|
|
||||||
fi
|
|
||||||
|
|
||||||
HostType="Docker"
|
HostType="Docker"
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user