#!/bin/bash # Reconcile each application's config ($containers_dir//.config) against # its freshly-cloned template ($install_containers_dir). See reconcileConfigFile. checkApplicationsConfigFilesMissingVariables() { local live app remote while IFS= read -r live; do app=$(basename "$live" .config) remote="$install_containers_dir$app/$app.config" reconcileConfigFile "$live" "$remote" # storageAppConfigs walks every storage root as the container user and # yields only /.config, so app data dirs owned by container # sub-UIDs (invidious/postgresdata, nextcloud/html) are never descended # into — no permission-denied chatter, and no payload *.config mistaken # for an app. done < <(storageAppConfigs) isSuccessful "Application config reconciliation completed." }