22 lines
846 B
Bash
Executable File
22 lines
846 B
Bash
Executable File
#!/bin/bash
|
|
set -eu
|
|
|
|
echo "==> Post-installation: setting maintenance window start to 01:00 UTC..."
|
|
php occ config:system:set maintenance_window_start --type=integer --value=1
|
|
|
|
echo "==> Post-installation: setting default phone region to DE..."
|
|
php occ config:system:set default_phone_region --value="DE"
|
|
|
|
echo "==> Post-installation: adding missing DB indices..."
|
|
php occ db:add-missing-indices
|
|
|
|
echo "==> Post-installation: running MIME type migrations..."
|
|
php occ maintenance:repair --include-expensive
|
|
|
|
echo "==> Post-installation: configuring Redis caching and file locking..."
|
|
php occ config:system:set memcache.local --value="\\OC\\Memcache\\APCu"
|
|
php occ config:system:set memcache.distributed --value="\\OC\\Memcache\\Redis"
|
|
php occ config:system:set memcache.locking --value="\\OC\\Memcache\\Redis"
|
|
|
|
echo "==> Post-installation: done."
|