mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2025-12-05 08:52:31 -05:00
LSIO Start/Stop - updated path support
LSIO has multiple svc-plex pathnames. This change adds support for /run/service/svc-plex.
This commit is contained in:
11
DBRepair.sh
11
DBRepair.sh
@@ -2,12 +2,12 @@
|
||||
#########################################################################
|
||||
# Plex Media Server database check and repair utility script. #
|
||||
# Maintainer: ChuckPa #
|
||||
# Version: v1.07.00 #
|
||||
# Date: 14-Jun-2024 #
|
||||
# Version: v1.08.00 #
|
||||
# Date: 28-Aug-2024 #
|
||||
#########################################################################
|
||||
|
||||
# Version for display purposes
|
||||
Version="v1.07.00"
|
||||
Version="v1.08.00"
|
||||
|
||||
# Have the databases passed integrity checks
|
||||
CheckedDB=0
|
||||
@@ -657,6 +657,11 @@ HostConfig() {
|
||||
StopCommand="s6-svc -d /var/run/service/svc-plex"
|
||||
fi
|
||||
|
||||
if [ -d "/run/service/svc-plex" ]; then
|
||||
HaveStartStop=1
|
||||
StartCommand="s6-svc -u /run/service/svc-plex"
|
||||
StopCommand="s6-svc -d /run/service/svc-plex"
|
||||
|
||||
if [ -d "/var/run/s6/services/plex" ]; then
|
||||
HaveStartStop=1
|
||||
StartCommand="s6-svc -u /var/run/s6/services/plex"
|
||||
|
||||
Reference in New Issue
Block a user