1
0
Fork 0

[keycloak] fix after bump to 20.0.3

This commit is contained in:
ibizaman 2023-02-27 22:57:41 -08:00
parent a5a2a02c9c
commit ed56fc9822

View file

@ -108,12 +108,9 @@ in
Environment=PATH=${pkgs.coreutils}/bin
Environment=KC_HOME_DIR="/run/keycloak"
# running the ExecStartPre as root is not ideal, but at the moment
# the only solution for Quarkus modifying the serialized
# data under <keycloak-home>/lib/quarkus
# 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
# build is ran upstream in the pkgs.keycloak definition, we add
# the --optimized flag to avoid running build on startup
ExecStart=${keycloak}/bin/kc.sh -cf ${configFile} start --optimized
# ReadWritePaths=/var/lib/keycloak
# ReadWritePaths=/var/log/keycloak