mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 18:23:40 +02:00
10 lines
300 B
Django/Jinja
10 lines
300 B
Django/Jinja
#!/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 %}
|