-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve service restart behavior configuration #88
Improve service restart behavior configuration #88
Conversation
@guidograzioli, sry for the breaking change, but I guess it wasn't that widespread by now; |
Hello, thanks for the PR. I believe allowing all the systemd values is too generic and does not directly apply to the keycloak startup script. In particular, I don't find an use case of |
I agree with I could remove all except for |
Ok, I see; how about this:
And at the same time, the four parameters |
aa57701
to
820cacb
Compare
…ce_restart_on_failure`
820cacb
to
bc4cb5c
Compare
This should do the trick |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add an extra parameter
keycloak_service_restart_always
which sets the systemd unit for keycloak to automaticcaly restart on thealways
condition. Whenkeycloak_service_restart_always
is True,keycloak_service_restart_on_failure
must also be True.keycloak_service_restart_always
False
keycloak_service_restart_on_failure
False