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:
ChuckPa 2024-08-28 14:40:11 -04:00
parent 16d1807705
commit f4b987900a
No known key found for this signature in database
GPG Key ID: 3CE28A0F6BC31B5B
3 changed files with 16 additions and 3 deletions

View File

@ -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"

View File

@ -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

View File

@ -8,6 +8,11 @@
![Maintenance](https://img.shields.io/badge/Maintained-Yes-green.svg) ![Maintenance](https://img.shields.io/badge/Maintained-Yes-green.svg)
# 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.