2020-06-19 19:10:02 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Keycloak Application Server
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=idle
|
|
|
|
Environment=JBOSS_HOME={{ keycloak_runtime_home }}
|
|
|
|
Environment=JBOSS_LOG_DIR={{ keycloak_log_directory }}
|
|
|
|
Environment="JAVA_OPTS=-Xms{{ keycloak_java_min_heap }} -Xmx{{ keycloak_java_max_heap }}"
|
|
|
|
User={{ keycloak_user }}
|
|
|
|
Group={{ keycloak_user }}
|
2021-02-15 19:58:53 +01:00
|
|
|
ExecStart={{ keycloak_runtime_home }}/bin/standalone.sh -P {{ keycloak_properties_directory }}/wildfly.properties -b {{ keycloak_listen }} {% if keycloak_wildfly_clustered %}--server-config=standalone-ha.xml -Djboss.node.name={{ keycloak_wildfly_cluster_node_name }}{% endif %}
|
2020-06-19 19:36:53 +02:00
|
|
|
|
2020-06-19 19:10:02 +02:00
|
|
|
TimeoutStartSec=600
|
|
|
|
TimeoutStopSec=600
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|