arch-plexpass
arch-plexpass copied to clipboard
binhex vs binhex-plexpass (supervisor.conf vs supervisord.conf) and DBRepair.sh
A user has presented a problem with stopping and starting the -plexpass image.
From what I can see,
# BINHEX Plex image
elif [ -e /etc/os-release ] && grep "IMAGE_ID=archlinux" /etc/os-release 1>/dev/null && \
[ -e /home/nobody/start.sh ] && grep PLEX_MEDIA /home/nobody/start.sh 1> /dev/null ; then
PLEX_SQLITE="/usr/lib/plexmediaserver/Plex SQLite"
AppSuppDir="/config"
PID_FILE="$AppSuppDir/Plex Media Server/plexmediaserver.pid"
DBDIR="$AppSuppDir/Plex Media Server/Plug-in Support/Databases"
CACHEDIR="$AppSuppDir/Plex Media Server/Cache/PhotoTranscoder"
LOGFILE="$DBDIR/DBRepair.log"
LOG_TOOL="logger"
if grep rpcinterface /etc/supervisor.conf > /dev/null; then
HaveStartStop=1
StartCommand="supervisorctl start plexmediaserver"
StopCommand="supervisorctl stop plexmediaserver"
fi
HostType="BINHEX"
return 0
fi
is not valid for the latest (?) -plexpass version.
I'm seeing /etc/supervisord.conf and not /etc/supervisor.conf
Did I miss something when we put this together
Thanks, C