2015-05-30 19:58:55 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-07-11 17:57:45 +02:00
|
|
|
{% if tomcat_m_instances is defined %}
|
2015-06-09 16:10:27 +02:00
|
|
|
sudo /etc/init.d/tomcat-instance-{{ item.0.http_port }} start
|
2016-07-11 17:57:45 +02:00
|
|
|
{% else %}
|
|
|
|
sudo {{ d4science_tomcat_start_command }}
|
|
|
|
{% endif %}
|
2015-05-30 19:58:55 +02:00
|
|
|
|
|
|
|
exit $?
|