Bootstrap start.sh for Unraid clone/pull and bash re-exec

This commit is contained in:
J0Z1L 2026-02-27 23:30:15 +01:00
parent fe3601cb5b
commit f2c0ffe5d0
2 changed files with 59 additions and 9 deletions

View file

@ -50,11 +50,24 @@ Danach reicht:
`start.sh` macht:
- optional `git pull --ff-only` (deaktivierbar mit `SKIP_GIT_PULL=1`)
- legt automatisch den Zielordner an (`/boot/config/custom/lidarr-spotify-frontend`)
- cloned das Repo dorthin (oder pullt Updates)
- Build vom Docker-Image
- Unraid-Template automatisch erstellen/aktualisieren
- direkten Sprung zur Unraid Template-Seite: `Docker/AddContainer?xmlTemplate=user/...`
Defaults fuer das Bootstrap-Verhalten:
```bash
INSTALL_DIR=/boot/config/custom/lidarr-spotify-frontend
REPO_URL=https://forgejo.tailef61c0.ts.net/openclaw/lidarr-spotify-frontend.git
REPO_BRANCH=main
```
Optional:
- `SKIP_GIT_PULL=1` ueberspringt das Pull bei vorhandenem Repo
Optional kannst du Werte in `.env.unraid` (oder `.env`) ablegen, z. B.:
```bash