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