ansible-roles/d4s_user_services_perms/templates/stopContainer.sh.j2

10 lines
186 B
Django/Jinja

#!/bin/bash
{% if tomcat_m_instances is defined %}
sudo /etc/init.d/tomcat-instance-{{ item.0.http_port }} stop
{% else %}
sudo {{ d4science_tomcat_stop_command }}
{% endif %}
exit $?