Binhex: supervisord.conf update

.
This commit is contained in:
ChuckPa 2025-11-09 14:15:06 -05:00
parent abc552fb12
commit f2060a0ede
No known key found for this signature in database
GPG Key ID: 38D684FFA607AF70
2 changed files with 17 additions and 4 deletions

View File

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

View File

@ -8,6 +8,14 @@
![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.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.