systemd unit and extended jgroups conf.
This commit is contained in:
parent
3e6e686294
commit
0f49dda00f
|
@ -17,7 +17,9 @@ Before=apache2.service
|
||||||
Environment=JAVA={{ keycloak_openjdk_bin }}
|
Environment=JAVA={{ keycloak_openjdk_bin }}
|
||||||
Environment=JAVA_HOME=/usr/lib/jvm/java-{{ keycloak_openjdk_runtime_version}}-openjdk-amd64
|
Environment=JAVA_HOME=/usr/lib/jvm/java-{{ keycloak_openjdk_runtime_version}}-openjdk-amd64
|
||||||
Environment=JAVA_OPTS="{{ keycloak_java_opts }}"
|
Environment=JAVA_OPTS="{{ keycloak_java_opts }}"
|
||||||
|
{% if not keycloak_jgroups_extended_stack %}
|
||||||
Environment=JAVA_OPTS_APPEND="-Djgroups.mcast_addr={{ keycloak_jgroups_multicast_address}} -Djgroups.mcast_port={{ keycloak_jgroups_multicast_port }}"
|
Environment=JAVA_OPTS_APPEND="-Djgroups.mcast_addr={{ keycloak_jgroups_multicast_address}} -Djgroups.mcast_port={{ keycloak_jgroups_multicast_port }}"
|
||||||
|
{% endif %}
|
||||||
User={{ keycloak_user }}
|
User={{ keycloak_user }}
|
||||||
Group={{ keycloak_user }}
|
Group={{ keycloak_user }}
|
||||||
SuccessExitStatus=0 143
|
SuccessExitStatus=0 143
|
||||||
|
|
Loading…
Reference in New Issue