Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/univention-app.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-10-19 19:52:58 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2022-10-19 19:52:58 +0300
commit990eb142a5868ddc90c5f8445005c3235a7755e1 (patch)
tree045496c17506739b843b17d9a8cd1aeea6a2ae52
parent378659933361e4716ccae125fbc6343dba9cec50 (diff)
apply one-click instance settings
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--setup4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup b/setup
index 95c9e7a..e10c23b 100644
--- a/setup
+++ b/setup
@@ -163,6 +163,10 @@ fi
# Recreate the htaccess on both install and update
$OCC maintenance:update:htaccess
+# Apply one-click-instance settings...
+$OCC config:system:set one-click-instance --value=true --type=bool
+$OCC config:system:set one-click-instance.user-limit --value=100 --type=int
+
# env var is set from the dockerfile
if [ "$NC_IS_PATCHED" = true ]; then
$OCC config:system:set integrity.check.disabled --value="true" --type=boolean