Newer
Older
nc-env / templates / template03-keycloak / artifacts / launch.sh
@pmarini pmarini on 13 Apr 2022 219 bytes initial commit
#!/bin/bash

if [ "x$WILDFLY_HOME" = "x" ]; then
    WILDFLY_HOME="/opt/keycloak"
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