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