[keycloak] fix after bump to 20.0.3
This commit is contained in:
parent
a5a2a02c9c
commit
ed56fc9822
1 changed files with 3 additions and 6 deletions
|
@ -108,12 +108,9 @@ in
|
||||||
Environment=PATH=${pkgs.coreutils}/bin
|
Environment=PATH=${pkgs.coreutils}/bin
|
||||||
Environment=KC_HOME_DIR="/run/keycloak"
|
Environment=KC_HOME_DIR="/run/keycloak"
|
||||||
|
|
||||||
# running the ExecStartPre as root is not ideal, but at the moment
|
# build is ran upstream in the pkgs.keycloak definition, we add
|
||||||
# the only solution for Quarkus modifying the serialized
|
# the --optimized flag to avoid running build on startup
|
||||||
# data under <keycloak-home>/lib/quarkus
|
ExecStart=${keycloak}/bin/kc.sh -cf ${configFile} start --optimized
|
||||||
# Raised upstream as https://github.com/keycloak/keycloak/discussions/10323
|
|
||||||
# ExecStartPre=!${keycloak}/bin/kc.sh -cf ${configFile} build
|
|
||||||
ExecStart=${keycloak}/bin/kc.sh -cf ${configFile} start
|
|
||||||
|
|
||||||
# ReadWritePaths=/var/lib/keycloak
|
# ReadWritePaths=/var/lib/keycloak
|
||||||
# ReadWritePaths=/var/log/keycloak
|
# ReadWritePaths=/var/log/keycloak
|
||||||
|
|
Loading…
Add table
Reference in a new issue