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

10 lines
188 B
Django/Jinja

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