mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-06 10:50:31 -07:00
Fix initd script
This commit is contained in:
parent
cc211d22e5
commit
5eead6fc02
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ startKeycloak() {
|
||||||
-Djboss.https.port=${KEYCLOAK_HTTPS_PORT} \
|
-Djboss.https.port=${KEYCLOAK_HTTPS_PORT} \
|
||||||
-Djboss.management.http.port=${KEYCLOAK_MANAGEMENT_HTTP_PORT} \
|
-Djboss.management.http.port=${KEYCLOAK_MANAGEMENT_HTTP_PORT} \
|
||||||
-Djboss.management.https.port=${KEYCLOAK_MANAGEMENT_HTTPS_PORT} \
|
-Djboss.management.https.port=${KEYCLOAK_MANAGEMENT_HTTPS_PORT} \
|
||||||
{% if ansible_facts.virtualization_type == 'docker' %}-Djava.net.preferIPv4Stack=true \{% endif %}
|
-Djboss.node.name={{ inventory_hostname }} {% if ansible_facts.virtualization_type in ['docker','oci'] %}-Djava.net.preferIPv4Stack=true {% endif %}\
|
||||||
-Djboss.node.name={{ inventory_hostname }} 2>&1 >> "${KEYCLOAK_LOGFILE}" &
|
2>&1 >> "${KEYCLOAK_LOGFILE}" &
|
||||||
echo "${!}" > "${KEYCLOAK_PIDFILE}"
|
echo "${!}" > "${KEYCLOAK_PIDFILE}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue