Running Keycloak as a service (Windows)

Hello, we’re trying to run keycloak as a service, but facing issues. We couldn’t run it as a service so we used NSSM. We had it working using nssm, but nssm is not currently maintained and has some vulnerabilities. We are using the version keycloak 24.0.5.