I am trying to install keycloak using nssm and have used the following commands:
nssm.exe install "Keycloak" "keycloak/run.bat"C:Keycloakkeycloak-24.0.2binkc.bat"
nssm.exe set "Keycloak" AppDirectory "keycloakC:Keycloakkeycloak-24.0.2bin"
nssm.exe set "Keycloak" Description "Keycloak Identity and Access Management"
nssm.exe set keycloak AppParameters start-dev
The service installs but fails when I try to start it. I do notice that the Path to executable goes to nssm.exe instead of kc.bat. The error and logs don’t help.
What am I doing wrong?
I tried using nssm to install keycloak batch file kc.bat as a service with parameter start-dev. I was expecting the service to install and run the batch file.
New contributor
RichardGMorgan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.