Update keycloak.service.j2

This commit is contained in:
Katzy 2022-10-27 15:40:54 +02:00 committed by Guido Grazioli
parent e624870e38
commit ad4d5dae68
No known key found for this signature in database
GPG key ID: 22C8C31EF2BC093B

View file

@ -7,7 +7,11 @@ After=network.target
Type=simple
EnvironmentFile=-/etc/sysconfig/keycloak
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 }}
{% endif %}
User={{ keycloak.service_user }}
[Install]