mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2025-11-11 05:38:55 -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. #
|
# Database Repair Utility for Plex Media Server. #
|
||||||
# Maintainer: ChuckPa #
|
# Maintainer: ChuckPa #
|
||||||
# Version: v1.12.01 #
|
# Version: v1.13.00 #
|
||||||
# Date: 21-Oct-2025 #
|
# Date: 09-Nov-2025 #
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
# Version for display purposes
|
# Version for display purposes
|
||||||
Version="v1.12.01"
|
Version="v1.13.00"
|
||||||
|
|
||||||
# Have the databases passed integrity checks
|
# Have the databases passed integrity checks
|
||||||
CheckedDB=0
|
CheckedDB=0
|
||||||
@ -779,10 +779,15 @@ HostConfig() {
|
|||||||
LOGFILE="$DBDIR/DBRepair.log"
|
LOGFILE="$DBDIR/DBRepair.log"
|
||||||
LOG_TOOL="logger"
|
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
|
HaveStartStop=1
|
||||||
StartCommand="supervisorctl start plexmediaserver"
|
StartCommand="supervisorctl start plexmediaserver"
|
||||||
StopCommand="supervisorctl stop 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
|
fi
|
||||||
|
|
||||||
HostType="BINHEX"
|
HostType="BINHEX"
|
||||||
|
|||||||
@ -8,6 +8,14 @@
|
|||||||

|

|
||||||
|
|
||||||
# Release Info:
|
# 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
|
v1.12.00
|
||||||
|
|
||||||
1. Deflate capability - Deflate a bloated PMS main database and retain bandwidth statistics.
|
1. Deflate capability - Deflate a bloated PMS main database and retain bandwidth statistics.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user