mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2025-11-06 03:08:55 -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:
parent
16d1807705
commit
f4b987900a
11
DBRepair.sh
11
DBRepair.sh
@ -2,12 +2,12 @@
|
|||||||
#########################################################################
|
#########################################################################
|
||||||
# Plex Media Server database check and repair utility script. #
|
# Plex Media Server database check and repair utility script. #
|
||||||
# Maintainer: ChuckPa #
|
# Maintainer: ChuckPa #
|
||||||
# Version: v1.07.00 #
|
# Version: v1.08.00 #
|
||||||
# Date: 14-Jun-2024 #
|
# Date: 28-Aug-2024 #
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
# Version for display purposes
|
# Version for display purposes
|
||||||
Version="v1.07.00"
|
Version="v1.08.00"
|
||||||
|
|
||||||
# Have the databases passed integrity checks
|
# Have the databases passed integrity checks
|
||||||
CheckedDB=0
|
CheckedDB=0
|
||||||
@ -657,6 +657,11 @@ HostConfig() {
|
|||||||
StopCommand="s6-svc -d /var/run/service/svc-plex"
|
StopCommand="s6-svc -d /var/run/service/svc-plex"
|
||||||
fi
|
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
|
if [ -d "/var/run/s6/services/plex" ]; then
|
||||||
HaveStartStop=1
|
HaveStartStop=1
|
||||||
StartCommand="s6-svc -u /var/run/s6/services/plex"
|
StartCommand="s6-svc -u /var/run/s6/services/plex"
|
||||||
|
|||||||
@ -126,6 +126,9 @@ Enter command # -or- command name (4 char min) :
|
|||||||
```
|
```
|
||||||
Plex,inc and LSIO docker images are included in "Docker" platform category independent of the actual host.
|
Plex,inc and LSIO docker images are included in "Docker" platform category independent of the actual host.
|
||||||
|
|
||||||
|
Additional hosts and docker images can easily be supported in almost all cases with appropriate path
|
||||||
|
information. Please contact me as needed.
|
||||||
|
|
||||||
|
|
||||||
### General installation and usage instructions
|
### General installation and usage instructions
|
||||||
|
|
||||||
|
|||||||
@ -8,6 +8,11 @@
|
|||||||

|

|
||||||
|
|
||||||
# Release Info:
|
# Release Info:
|
||||||
|
v1.08.00
|
||||||
|
|
||||||
|
1. Linuxserver.io - Add support for new start/stop path.
|
||||||
|
Silently support both previous and new path start/stop mechanisms.
|
||||||
|
|
||||||
v1.07.00
|
v1.07.00
|
||||||
|
|
||||||
1. Mac start/stop - DBRepair now supports start/stop from the menu.
|
1. Mac start/stop - DBRepair now supports start/stop from the menu.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user