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-host={{ keycloak_listen }}
|
||||||
http-port={{ keycloak_http_port }}
|
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
|
# Database
|
||||||
# The database vendor.
|
# The database vendor.
|
||||||
db={{ keycloak_db_vendor }}
|
db={{ keycloak_db_vendor }}
|
||||||
|
|
|
@ -24,7 +24,7 @@ User={{ keycloak_user }}
|
||||||
Group={{ keycloak_user }}
|
Group={{ keycloak_user }}
|
||||||
SuccessExitStatus=0 143
|
SuccessExitStatus=0 143
|
||||||
UMask=0027
|
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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue