Update to 2024-01-08 12:00

This commit is contained in:
Daniel Berteaud 2024-01-08 12:00:40 +01:00
parent 5eec0682a0
commit 76321453c4
5 changed files with 20 additions and 7 deletions

View File

@ -23,7 +23,6 @@
template: src={{ item }}.j2 dest={{ seafile_root_dir }}/conf/{{ item }} group={{ seafile_group }} mode=640
with_items:
- seafevents.conf
when: seafile_license is defined
notify:
- restart seafile
- restart seahub

View File

@ -295,3 +295,11 @@
- clean_db
tags: seafile
- name: Fix seafevent start script to work with a venv
replace:
path: /opt/seafile/seafile-server/seafile-monitor.sh
regexp: '/usr/bin/python3'
replace: 'python3'
notify: restart seafile
tags: seafile

View File

@ -9,10 +9,15 @@ name = {{ seafile_db_seahub }}
[Syslog]
enabled = true
[AUDIT]
[STATISTICS]
enabled = true
[STATISTICS]
[SEAHUB EMAIL]
enabled = true
interval = 30m
{% if seafile_edition == 'pro' %}
[AUDIT]
enabled = true
[INDEX FILES]
@ -30,10 +35,7 @@ workers = 2
max-pages = 200
max-size = 20
[SEAHUB EMAIL]
enabled = true
interval = 30m
[AUTO DELETION]
enabled = true
interval = 86400
{% endif %}

View File

@ -34,6 +34,7 @@ use_go_fileserver = {{ seafile_use_go_fileserver | ternary('true', 'false') }}
{% endif %}
{% if seafile_license is defined %}
use_locked_file_cache = true
fs_cache_limit = 200
[memcached]
memcached_options = --SERVER={{ seafile_memcached_server }} --POOL-MIN=10 --POOL-MAX=100

View File

@ -105,6 +105,9 @@ REPO_PASSWORD_MIN_LENGTH = 4
ENABLE_REPO_SNAPSHOT_LABEL = True
ENABLE_DELETE_ACCOUNT = False
ENABLE_GET_AUTH_TOKEN_BY_SESSION = True
{% if seafile_oauth2_auth == True %}
ENABLE_OAUTH = True
OAUTH_ENABLE_INSECURE_TRANSPORT = True