-
Hi, I am trying to use quadlets to run a Keycloak container. In order to start the keycloak container, you need to override the entrypoint parameter with something similar to this:
The issue is that I am unable to translate this to systemd. I`ve tried using the Entrypoint option in the Container section in systemd and the PodmanArgs option but no luck. It seems that systemd is unable to recognize the aditional parameter (start). Some examples:
If I remove the start parameter, the container runs without any issue but the keycloak app does not run. Can anybody help me with this? Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Forgot to say that if I run (podman run) the container with that entrypoint (--entrypoint /opt/keycloak/bin/kc.sh start) manually, it works as expected |
Beta Was this translation helpful? Give feedback.
-
Thanks for bringing this up. |
Beta Was this translation helpful? Give feedback.
-
You need to define both a entrypoint with
|
Beta Was this translation helpful? Give feedback.
-
It works! Thank you guys! |
Beta Was this translation helpful? Give feedback.
You need to define both a entrypoint with
PodmanArgs
and useExec
for the arguments: