diff --git a/bundles/nextcloud/README.md b/bundles/nextcloud/README.md deleted file mode 100644 index 4d51f9c..0000000 --- a/bundles/nextcloud/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# downloads[f'/tmp/nextcloud-{version}.tar.bz2'] = { -# 'url': f'https://download.nextcloud.com/server/releases/nextcloud-{version}.tar.bz2', -# 'sha256_url': '{url}.sha256', -# 'triggered': True, -# } -# actions['delete_nextcloud'] = { -# 'command': 'rm -rf /opt/nextcloud/*', -# 'triggered': True, -# } -# actions['extract_nextcloud'] = { -# 'command': f'tar xfvj /tmp/nextcloud-{version}.tar.bz2 --strip 1 -C /opt/nextcloud nextcloud', -# 'unless': f"""php -r 'include "/opt/nextcloud/version.php"; echo "$OC_VersionString";' | grep -q '^{version}$'""", -# 'preceded_by': [ -# 'action:delete_nextcloud', -# f'download:/tmp/nextcloud-{version}.tar.bz2', -# ], -# 'needs': [ -# 'directory:/opt/nextcloud', -# ], -# } - - -# git_deploy = { -# '/opt/nextcloud': { -# 'repo': 'git://github.com/nextcloud/server.git', -# 'rev': f"v{node.metadata.get('nextcloud/version')}", -# 'needs': { -# 'directory:/opt/nextcloud', -# }, -# }, -# '/opt/nextcloud/3rdparty': { -# 'repo': 'git://github.com/nextcloud/3rdparty.git', -# 'rev': f"v{node.metadata.get('nextcloud/version')}", -# 'needs': { -# 'git_deploy:/opt/nextcloud', -# }, -# }, -# } diff --git a/bundles/nextcloud/files/managed.config.php b/bundles/nextcloud/files/managed.config.php index 70970e8..3e50c94 100644 --- a/bundles/nextcloud/files/managed.config.php +++ b/bundles/nextcloud/files/managed.config.php @@ -22,4 +22,7 @@ $CONFIG = array ( ], "cache_path" => "/var/lib/nextcloud/.cache", "upgrade.disable-web" => true, + "memcache.local" => "\\OC\\Memcache\\Redis", + "memcache.locking" => "\\OC\\Memcache\\Redis", + "memcache.distributed" => "\OC\Memcache\Redis", ); diff --git a/bundles/rspamd/files/local.d/actions.conf b/bundles/rspamd/files/local.d/actions.conf index e0f4408..c355787 100644 --- a/bundles/rspamd/files/local.d/actions.conf +++ b/bundles/rspamd/files/local.d/actions.conf @@ -1,3 +1,3 @@ reject = 150; -add_header = 5; -greylist = 5; +add_header = 2; +greylist = 4;