Move other options from the systemd unit to the conf file.
This commit is contained in:
parent
a551dbbe54
commit
bd41510ba7
|
@ -4,6 +4,14 @@ http-enabled={{ keycloak_http_enabled }}
|
|||
http-host={{ keycloak_listen }}
|
||||
http-port={{ keycloak_http_port }}
|
||||
|
||||
{% if not keycloak_optimize_build_at_startup %}
|
||||
optimized=true
|
||||
{% endif %}
|
||||
|
||||
{% if keycloak_upgrade_db_at_startup %}
|
||||
spi-connections-jpa-default-migration-strategy=update
|
||||
{% endif %}
|
||||
|
||||
# Database
|
||||
# The database vendor.
|
||||
db={{ keycloak_db_vendor }}
|
||||
|
|
|
@ -24,7 +24,7 @@ User={{ keycloak_user }}
|
|||
Group={{ keycloak_user }}
|
||||
SuccessExitStatus=0 143
|
||||
UMask=0027
|
||||
ExecStart={{ keycloak_runtime_home }}/bin/kc.sh start{% if not keycloak_optimize_build_at_startup %} --optimized{% endif %}{% if keycloak_upgrade_db_at_startup %} --spi-connections-jpa-default-migration-strategy=update{% endif %}
|
||||
ExecStart={{ keycloak_runtime_home }}/bin/kc.sh start
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue