#!/bin/sh # Update through DockerMan so the Unraid template remains authoritative. set -eu TEMPLATE=/boot/config/plugins/dockerMan/templates-user/my-sillytavern.xml UPDATER=/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/update_container if docker inspect sillytavern >/dev/null 2>&1 && [ -f "$TEMPLATE" ]; then exec "$UPDATER" sillytavern fi exec sh /boot/config/bootstrap-sillytavern.sh