aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nextcloud/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nextcloud/templates')
-rw-r--r--roles/nextcloud/templates/var-www-nextcloud-config-custom.config.php.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/nextcloud/templates/var-www-nextcloud-config-custom.config.php.j2 b/roles/nextcloud/templates/var-www-nextcloud-config-custom.config.php.j2
new file mode 100644
index 0000000..15df079
--- /dev/null
+++ b/roles/nextcloud/templates/var-www-nextcloud-config-custom.config.php.j2
@@ -0,0 +1,4 @@
+<?php
+$CONFIG = array (
+ 'datadirectory' => ((php_sapi_name() == 'cli') ? '/var/www' : '') . '/nextcloud/data',
+);
remember that computers suck.