11 lines
414 B
Plaintext
Raw Normal View History

2021-12-01 19:13:34 +01:00
#!/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
2025-06-27 13:00:12 +02:00
/usr/bin/systemd-cat /usr/bin/sudo -u {{ seafile_user }} {{ seafile_root_dir }}/seafile-server/seaf-gc.sh --rm-fs
2021-12-01 19:13:34 +01:00
{% if seafile_license is not defined %}
/usr/bin/systemctl start seafile seahub
{% endif %}