Merge pull request #55 from ChuckPa/chuckpa/Start-stop-fixes

Start/stop cleanup
This commit is contained in:
Chuck 2023-04-01 17:27:38 -04:00 committed by GitHub
commit 884228835c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -499,6 +499,7 @@ HostConfig() {
LOGFILE="$DBDIR/DBRepair.log"
LOG_TOOL="logger"
# Miscellaneous start/stop methods
if [ -d "/var/run/service/svc-plex" ]; then
HaveStartStop=1
StartCommand="s6-svc -u /var/run/service/svc-plex"
@ -511,20 +512,6 @@ HostConfig() {
StopCommand="s6-svc -d /var/run/s6/services/plex"
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"
return 0