Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/setup_wildfly_server/templates/launch.sh.j2

raw
1 #!/usr/bin/env bash
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 if [ "x$WILDFLY_HOME" = "x" ]; then
7 WILDFLY_HOME="{{ wf_homedir }}"
8 fi
9
10 if [[ "$1" == "domain" ]]; then
11 $WILDFLY_HOME/bin/domain.sh -c "$2" -b "$3"
12 else
13 $WILDFLY_HOME/bin/standalone.sh -c "$2" -b "$3"
14 fi