mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
9
roles/seafile/templates/gc.sh.j2
Normal file
9
roles/seafile/templates/gc.sh.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
{% if seafile_license is not defined %}
|
||||
/usr/bin/systemctl stop seafile seahub
|
||||
{% endif %}
|
||||
/usr/bin/systemd-cat /usr/bin/sudo -u {{ seafile_user }} {{ seafile_root_dir }}/seafile-server/seaf-gc.sh
|
||||
{% if seafile_license is not defined %}
|
||||
/usr/bin/systemctl start seafile seahub
|
||||
{% endif %}
|
Reference in New Issue
Block a user