mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-09 04:10:27 -07:00
Update keycloak.service.j2
This commit is contained in:
parent
e624870e38
commit
ad4d5dae68
1 changed files with 4 additions and 0 deletions
|
@ -7,7 +7,11 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
EnvironmentFile=-/etc/sysconfig/keycloak
|
EnvironmentFile=-/etc/sysconfig/keycloak
|
||||||
PIDFile={{ keycloak_quarkus_service_pidfile }}
|
PIDFile={{ keycloak_quarkus_service_pidfile }}
|
||||||
|
{% if keycloak_quarkus_start_dev %}
|
||||||
|
ExecStart={{ keycloak.home }}/bin/kc.sh start-dev
|
||||||
|
{% else %}
|
||||||
ExecStart={{ keycloak.home }}/bin/kc.sh start --auto-build --log={{ keycloak_quarkus_log }}
|
ExecStart={{ keycloak.home }}/bin/kc.sh start --auto-build --log={{ keycloak_quarkus_log }}
|
||||||
|
{% endif %}
|
||||||
User={{ keycloak.service_user }}
|
User={{ keycloak.service_user }}
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Add table
Reference in a new issue