Install Importarr services from repo on dgsserver1

This commit is contained in:
2026-07-29 13:41:06 +02:00
parent af2808189d
commit 259f5e7ee2
10 changed files with 1657 additions and 17 deletions
+7
View File
@@ -31,5 +31,12 @@ fi
git fetch --prune origin
git pull --ff-only
"$VENV/bin/pip" install --upgrade "$REPO_DIR"
GIT_SHA="$(git rev-parse --short=12 HEAD 2>/dev/null || printf development)"
BUILD_DATE="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
cat > /opt/importarr/build.env <<EOF
IMPORTARR_GIT_SHA=$GIT_SHA
IMPORTARR_BUILD_DATE=$BUILD_DATE
EOF
systemctl restart "$SERVICE"
systemctl restart manual-media-import.timer
systemctl --no-pager --full status "$SERVICE"