feat: Update version file path (#1165)

This commit is contained in:
Kroese
2026-05-29 16:08:23 +02:00
committed by GitHub
parent 819dd29025
commit 7168f2f843
4 changed files with 6 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ finish() {
while isAlive "$pid"; do
sleep 1
cnt=$((cnt+1))
(( cnt++ ))
# Workaround for zombie pid
[ ! -s "$QEMU_PID" ] && break
@@ -162,7 +162,7 @@ _graceful_shutdown() {
! isAlive "$pid" && break
sleep 1
cnt=$((cnt+1))
(( cnt++ ))
[[ "$DEBUG" == [Yy1]* ]] && info "Shutting down, waiting... ($cnt/$QEMU_TIMEOUT)"

View File

@@ -40,7 +40,7 @@ if [ -f "/run/.containerenv" ]; then
fi
fi
echo " Starting $APP for $ENGINE v$(</run/version)..."
echo " Starting $APP for $ENGINE v$(</etc/version)..."
echo " For support visit $SUPPORT"
# Get the capability bounding set
@@ -61,7 +61,7 @@ fi
INFO="/run/shm/msg.html"
PAGE="/run/shm/index.html"
TEMPLATE="/var/www/index.html"
FOOTER1="$APP for $ENGINE v$(</run/version)"
FOOTER1="$APP for $ENGINE v$(</etc/version)"
FOOTER2="<a href='$SUPPORT'>$SUPPORT</a>"
SOCKETS=1