Commit 4aead2b9 authored by Marco Marinello's avatar Marco Marinello

[nc17] Minor fixes

parent ded353a4
......@@ -44,13 +44,18 @@ fi
run_as 'php /var/www/html/occ app:enable user_ldap'
run_as 'php /var/www/html/occ app:enable files_external'
run_as 'php /var/www/html/occ background:cron'
run_as 'php /var/www/html/occ config:app:set theming enabled --value yes'
run_as 'php /var/www/html/occ config:app:set theming name --value "${INSTITUTE_NAME}"'
run_as 'php /var/www/html/occ config:app:set theming slogan --value "FUSS Remote Access"'
run_as 'php /var/www/html/occ config:app:set theming color --value "#996400"'
run_as 'php /var/www/html/occ config:app:set theming url --value "http://access.fuss.bz.it"'
run_as 'php /var/www/html/occ config:app:set theming backgroundMime --value backgroundColor'
run_as 'php /var/www/html/occ config:app:set theming logoMime --value "image\/png"'
run_as 'php /var/www/html/occ config:app:set theming url --value "https://access.fuss.bz.it"'
run_as 'php /var/www/html/occ config:app:set files default_quota --value 2MB'
run_as 'php /var/www/html/occ config:app:set privacy readableLocation --value it'
run_as 'cp /var/www/images/logo.png /var/www/html/core/img/logo/logo.png'
run_as 'cp /var/www/images/logo.png /var/www/html/core/img/logo/logo-mail.png'
run_as 'cp /var/www/images/logo.png /var/www/html/core/img/logo/logo-enterprise.png'
run_as 'cp /var/www/images/logo.svg /var/www/html/core/img/logo/logo.svg'
run_as 'php /var/www/html/occ maintenance:theme:update'
......@@ -113,7 +118,7 @@ if [ "No admin mounts configured" = "$(run_as 'php /var/www/html/occ files_exter
"show_hidden": false
},
"options": {
"enable_sharing": false
"enable_sharing": true
},
"applicable_users": [],
"applicable_groups": [
......@@ -128,5 +133,8 @@ fi
# Start cron
/usr/sbin/cron
# Kill server started by certbot
killall -9 apache2
# Run the server
exec "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment