mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-23 21:53:21 +02:00
Update to 2024-01-08 12:00
This commit is contained in:
parent
5eec0682a0
commit
76321453c4
@ -23,7 +23,6 @@
|
|||||||
template: src={{ item }}.j2 dest={{ seafile_root_dir }}/conf/{{ item }} group={{ seafile_group }} mode=640
|
template: src={{ item }}.j2 dest={{ seafile_root_dir }}/conf/{{ item }} group={{ seafile_group }} mode=640
|
||||||
with_items:
|
with_items:
|
||||||
- seafevents.conf
|
- seafevents.conf
|
||||||
when: seafile_license is defined
|
|
||||||
notify:
|
notify:
|
||||||
- restart seafile
|
- restart seafile
|
||||||
- restart seahub
|
- restart seahub
|
||||||
|
@ -295,3 +295,11 @@
|
|||||||
- clean_db
|
- clean_db
|
||||||
tags: seafile
|
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
|
||||||
|
|
||||||
|
@ -9,10 +9,15 @@ name = {{ seafile_db_seahub }}
|
|||||||
[Syslog]
|
[Syslog]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
[AUDIT]
|
[STATISTICS]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
[STATISTICS]
|
[SEAHUB EMAIL]
|
||||||
|
enabled = true
|
||||||
|
interval = 30m
|
||||||
|
|
||||||
|
{% if seafile_edition == 'pro' %}
|
||||||
|
[AUDIT]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
[INDEX FILES]
|
[INDEX FILES]
|
||||||
@ -30,10 +35,7 @@ workers = 2
|
|||||||
max-pages = 200
|
max-pages = 200
|
||||||
max-size = 20
|
max-size = 20
|
||||||
|
|
||||||
[SEAHUB EMAIL]
|
|
||||||
enabled = true
|
|
||||||
interval = 30m
|
|
||||||
|
|
||||||
[AUTO DELETION]
|
[AUTO DELETION]
|
||||||
enabled = true
|
enabled = true
|
||||||
interval = 86400
|
interval = 86400
|
||||||
|
{% endif %}
|
||||||
|
@ -34,6 +34,7 @@ use_go_fileserver = {{ seafile_use_go_fileserver | ternary('true', 'false') }}
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if seafile_license is defined %}
|
{% if seafile_license is defined %}
|
||||||
use_locked_file_cache = true
|
use_locked_file_cache = true
|
||||||
|
fs_cache_limit = 200
|
||||||
|
|
||||||
[memcached]
|
[memcached]
|
||||||
memcached_options = --SERVER={{ seafile_memcached_server }} --POOL-MIN=10 --POOL-MAX=100
|
memcached_options = --SERVER={{ seafile_memcached_server }} --POOL-MIN=10 --POOL-MAX=100
|
||||||
|
@ -105,6 +105,9 @@ REPO_PASSWORD_MIN_LENGTH = 4
|
|||||||
|
|
||||||
ENABLE_REPO_SNAPSHOT_LABEL = True
|
ENABLE_REPO_SNAPSHOT_LABEL = True
|
||||||
|
|
||||||
|
ENABLE_DELETE_ACCOUNT = False
|
||||||
|
ENABLE_GET_AUTH_TOKEN_BY_SESSION = True
|
||||||
|
|
||||||
{% if seafile_oauth2_auth == True %}
|
{% if seafile_oauth2_auth == True %}
|
||||||
ENABLE_OAUTH = True
|
ENABLE_OAUTH = True
|
||||||
OAUTH_ENABLE_INSECURE_TRANSPORT = True
|
OAUTH_ENABLE_INSECURE_TRANSPORT = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user