feat: add --yes support to teardown scripts
This commit is contained in:
@@ -89,17 +89,6 @@ else
|
||||
log_success "docker-compose.yml deployed"
|
||||
fi
|
||||
|
||||
# Symlink into Unraid Compose Manager plugin so it appears on the dashboard.
|
||||
# Idempotent: ln -sf overwrites existing symlink. Skipped if plugin not installed.
|
||||
COMPOSE_PLUGIN_PROJECTS="/boot/config/plugins/compose.manager/projects"
|
||||
if ssh_exec UNRAID "test -d '${COMPOSE_PLUGIN_PROJECTS}'"; then
|
||||
ssh_exec UNRAID "mkdir -p '${COMPOSE_PLUGIN_PROJECTS}/gitea' && \
|
||||
ln -sf '${DATA_PATH}/docker-compose.yml' '${COMPOSE_PLUGIN_PROJECTS}/gitea/docker-compose.yml'"
|
||||
log_success "Registered with Unraid Compose Manager (dashboard symlink)"
|
||||
else
|
||||
log_info "Compose Manager plugin not found — skipping dashboard registration"
|
||||
fi
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Step 4: Render + SCP app.ini
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user