Update to 2021-12-12 19:00

This commit is contained in:
Daniel Berteaud
2021-12-12 19:00:31 +01:00
parent f896fc9bd1
commit ed9559576e
6 changed files with 25 additions and 8 deletions

View File

@@ -9,8 +9,16 @@
loop:
- seafile.service
- seahub.service
- seafile-clean-db.timer
- seafile-gc.timer
tags: seafile
- name: Stop seafile-gc timer
systemd: name=seafile-gc.timer state=stopped
when: seafile_gc_timer.stat.exists
tags: seafile
- name: Stop seafile-clean-db timer
systemd: name=seafile-clean-db.timer state=stopped
when: seafile_clean_db_timer.stat.exists
tags: seafile
- name: Backup the databases

View File

@@ -88,3 +88,12 @@
when: seafile_webdav == True
tags: seafile
- name: Check if seafile-gc timer exists
stat: path=/etc/systemd/system/seafile-gc.timer
register: seafile_gc_timer
tags: seafile
- name: Check if seafile-clean-db timer exists
stat: path=/etc/systemd/system/seafile-clean-db.timer
register: seafile_clean_db_timer
tags: seafile