Update to 2020-04-27 19:00

master
Daniel Berteaud 5 years ago
parent 94d4700d76
commit 65cec085a8
  1. 3
      roles/seafile/tasks/cleanup.yml
  2. 2
      roles/seafile/templates/seafile_dump_db.sh.j2
  3. 2
      roles/seafile/templates/seafile_rm_dumps.sh.j2
  4. 4
      roles/squid/files/acl/software_centos.domains
  5. 3
      roles/squid/files/acl/software_various.domains

@ -7,5 +7,6 @@
- "{{ seafile_root_dir }}/tmp/seafile-server-{{ seafile_version }}" - "{{ seafile_root_dir }}/tmp/seafile-server-{{ seafile_version }}"
- "{{ seafile_root_dir }}/tmp/seafile-pro-server_{{ seafile_version }}_x86-64.tar.gz" - "{{ seafile_root_dir }}/tmp/seafile-pro-server_{{ seafile_version }}_x86-64.tar.gz"
- "{{ seafile_root_dir }}/tmp/seafile-pro-server-{{ seafile_version }}" - "{{ seafile_root_dir }}/tmp/seafile-pro-server-{{ seafile_version }}"
- "/etc/cron.d/seafil_gc" - /etc/cron.d/seafil_gc
- "{{ seafile_root_dir }}/db_dumps"
tags: seafile tags: seafile

@ -5,5 +5,5 @@ for DB in {{ seafile_db_ccnet }} {{ seafile_db_seafile }} {{ seafile_db_seahub }
--password={{ seafile_db_pass }} \ --password={{ seafile_db_pass }} \
--host={{ seafile_db_server }} \ --host={{ seafile_db_server }} \
--quick --single-transaction \ --quick --single-transaction \
--add-drop-table $DB | lz4 -c > {{ seafile_data_dir }}/db_dumps/$DB.sql.lz4 --add-drop-table $DB | zstd -T0 -c > {{ seafile_data_dir }}/backup/$DB.sql.zst
done done

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
rm -f {{ seafile_data_dir }}/db_dumps/* rm -f {{ seafile_data_dir }}/backup/*

@ -7,3 +7,7 @@ centos.mirrors.ovh.net
distrib-coffee.ipsl.jussieu.fr distrib-coffee.ipsl.jussieu.fr
centos.crazyfrogs.org centos.crazyfrogs.org
mirror.plusserver.com mirror.plusserver.com
mirrors.atosworldline.com
fr2.rpmfind.net
centos.mirror.fr.planethoster.net
miroir.univ-paris13.fr

@ -32,6 +32,9 @@ pypi.python.org
pypi.org pypi.org
files.pythonhosted.org files.pythonhosted.org
# Ruby
api.rubygems.org
# Seadrive # Seadrive
download.seadrive.org download.seadrive.org
rpm.seadrive.org rpm.seadrive.org

Loading…
Cancel
Save