Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
349 B

#!/bin/sh
{% if seafile_license is not defined %}
/usr/bin/systemctl stop seafile
/usr/bin/systemctl stop 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
/usr/bin/systemctl start seahub
{% endif %}