mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2025-11-11 13:48:54 -05:00
Binhex: supervisord.conf update
.
This commit is contained in:
parent
abc552fb12
commit
f2060a0ede
13
DBRepair.sh
13
DBRepair.sh
@ -2,12 +2,12 @@
|
||||
#########################################################################
|
||||
# Database Repair Utility for Plex Media Server. #
|
||||
# Maintainer: ChuckPa #
|
||||
# Version: v1.12.01 #
|
||||
# Date: 21-Oct-2025 #
|
||||
# Version: v1.13.00 #
|
||||
# Date: 09-Nov-2025 #
|
||||
#########################################################################
|
||||
|
||||
# Version for display purposes
|
||||
Version="v1.12.01"
|
||||
Version="v1.13.00"
|
||||
|
||||
# Have the databases passed integrity checks
|
||||
CheckedDB=0
|
||||
@ -779,10 +779,15 @@ HostConfig() {
|
||||
LOGFILE="$DBDIR/DBRepair.log"
|
||||
LOG_TOOL="logger"
|
||||
|
||||
if grep rpcinterface /etc/supervisor.conf > /dev/null; then
|
||||
if [ -e /etc/supervisor.conf ] && grep rpcinterface /etc/supervisor.conf > /dev/null; then
|
||||
HaveStartStop=1
|
||||
StartCommand="supervisorctl start plexmediaserver"
|
||||
StopCommand="supervisorctl stop plexmediaserver"
|
||||
|
||||
elif [ -e /etc/supervisord.conf ] && grep rpcinterface /etc/supervisord.conf > /dev/null; then
|
||||
HaveStartStop=1
|
||||
StartCommand="supervisorctl start start-script"
|
||||
StopCommand="supervisorctl stop start-script"
|
||||
fi
|
||||
|
||||
HostType="BINHEX"
|
||||
|
||||
@ -8,6 +8,14 @@
|
||||

|
||||
|
||||
# Release Info:
|
||||
v1.13.00
|
||||
|
||||
1. Binhex containers - Add support for updated 'supervisord' start/stop control.
|
||||
Maintain support for legacy 'supervisor' start/stop control.
|
||||
|
||||
This will be removed in the next release
|
||||
Update your container before updating DBRepair.
|
||||
|
||||
v1.12.00
|
||||
|
||||
1. Deflate capability - Deflate a bloated PMS main database and retain bandwidth statistics.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user