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:
authorblizzz <blizzz@arthur-schiwon.de>2022-10-20 12:13:52 +0300
committerGitHub <noreply@github.com>2022-10-20 12:13:52 +0300
commitb721b855a9cb8d9603e7a5b5fed0e639a8e91a2e (patch)
tree4f6d59abf0b652a7f99dfd64d0c80bfd84d05742
parent3866275418eedd51ccf19effbfc8c981b47634c2 (diff)
parent990eb142a5868ddc90c5f8445005c3235a7755e1 (diff)
Merge pull request #172 from nextcloud/fairuse
apply one-click instance settings
-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