Update to 2020-09-28 10:00

master
Daniel Berteaud 4 years ago
parent a39fb3f87a
commit 44fe370865
  1. 14
      roles/seafile/tasks/install.yml

@ -288,3 +288,17 @@
dest: /usr/local/bin/seafpy dest: /usr/local/bin/seafpy
mode: 0755 mode: 0755
tags: seafile tags: seafile
- name: Deploy script to run garbage collector
template: src=gc.sh.j2 dest={{ seafile_root_dir }}/seafile-server/gc.sh mode=0755
tags: seafile
- name: Add a cron job for garbage collector
cron:
name: seafile_gc
special_time: weekly
user: root
job: '{{ seafile_root_dir }}/seafile-server/gc.sh'
cron_file: seafile_gc
state: present
tags: seafile

Loading…
Cancel
Save