1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/integration/targets/setup_wildfly_server/templates/launch.sh.j2

12 lines
237 B
Text
Raw Normal View History

2020-03-09 10:11:07 +01:00
#!/usr/bin/env bash
if [ "x$WILDFLY_HOME" = "x" ]; then
WILDFLY_HOME="{{ wf_homedir }}"
fi
if [[ "$1" == "domain" ]]; then
$WILDFLY_HOME/bin/domain.sh -c "$2" -b "$3"
else
$WILDFLY_HOME/bin/standalone.sh -c "$2" -b "$3"
fi