nextcloud: restore app files for maintenance job
This commit is contained in:
parent
8a12c8cdbd
commit
37e8e691e2
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user