nextcloud: restore app files for maintenance job

This commit is contained in:
Brad Stein 2026-01-06 14:22:26 -03:00
parent 8a12c8cdbd
commit 37e8e691e2

View File

@ -15,6 +15,14 @@ run_occ() {
log() { echo "[$(date -Is)] $*"; }
log "Ensuring Nextcloud app files are present"
if [[ ! -d /var/www/html/lib && -d /usr/src/nextcloud/lib ]]; then
rsync -a --delete \
--exclude config \
--exclude data \
/usr/src/nextcloud/ /var/www/html/
fi
log "Applying Atlas theming"
run_occ config:app:set theming name --value "Atlas Cloud"
run_occ config:app:set theming slogan --value "Unified access to Atlas services"