diff --git a/.env.sample b/.env.sample index 81e6cd3..bc5db7e 100644 --- a/.env.sample +++ b/.env.sample @@ -82,9 +82,6 @@ DEFAULT_QUOTA="10 GB" # AUTHENTIK_DOMAIN=authentik.example.com # SECRET_AUTHENTIK_SECRET_VERSION=v1 # SECRET_AUTHENTIK_ID_VERSION=v1 -# OCC_CMDS="app:disable dashboard" -# OCC_CMDS="$OCC_CMDS|config:app:set sociallogin auto_create_groups --value 1" -# OCC_CMDS="$OCC_CMDS|config:app:set sociallogin hide_default_login --value 1" #COMPOSE_FILE="$COMPOSE_FILE:compose.fulltextsearch.yml" #SECRET_ELASTICSEARCH_PASSWORD_VERSION=v1 diff --git a/README.md b/README.md index 15d619e..e9b9877 100644 --- a/README.md +++ b/README.md @@ -64,21 +64,18 @@ AUTHENTIK_ID_NAME=authentik_example_com_nextcloud_id_v1 # the same as in authen `abra app cmd app set_authentik` -### Disable Dashboard - -Disable dashboard app since it is so corporate: - -`abra app config ` -Configure the following envs: -``` -OCC_CMDS="app:disable dashboard" -``` -`abra app cmd app post_install_occ` - ## Running `occ` `abra app cmd app run_occ '"user:list --help"'` +Read more about [occ command here](https://docs.nextcloud.com/server/stable/admin_manual/occ_command.html). + +### Disable Dashboard + +To disable dashboard app (since it is so corporate): + +`abra app cmd app run_occ '"app:disable dashboard"'` + ## Default user files - Follow [these docs](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/default_files_configuration.html) to set the default files list for each user in the Files app diff --git a/abra.sh b/abra.sh index 510ebbf..8937200 100644 --- a/abra.sh +++ b/abra.sh @@ -12,13 +12,6 @@ run_occ() { su -p www-data -s /bin/sh -c "/var/www/html/occ $@" } -post_install_occ() { - IFS='|' read -ra CMD <<<"$OCC_CMDS" - for cmd in "${CMD[@]}"; do - run_occ "$cmd" - done -} - install_apps() { install_apps="$@" if [ -z "$install_apps" ]; then