diff options
author | binary <me@rgoncalves.se> | 2021-03-15 20:41:58 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-03-15 20:41:58 +0100 |
commit | 6cf77357bcd32ecff44446564ece49b1ab286ece (patch) | |
tree | 9308ab179ceb0373d7893fe1c8d9065ca4e500b5 /roles/nextcloud/templates | |
parent | 44b32f0d099d130f9e5691d049740b117334c5cb (diff) | |
download | infrastructure-6cf77357bcd32ecff44446564ece49b1ab286ece.tar.gz |
Turn some manuals quirks to automatic.
Diffstat (limited to 'roles/nextcloud/templates')
-rw-r--r-- | roles/nextcloud/templates/var-www-nextcloud-config-custom.config.php.j2 | 4 |
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', +); |