fix/#149: keycloak_quarkus: Allow ports <1024 (e.g., :443)

This commit is contained in:
Helmut Wolf 2024-01-08 18:19:00 +01:00
parent 053d0f9873
commit 8adc018cb3

View file

@ -20,6 +20,9 @@ Restart=always
Restart=on-failure Restart=on-failure
{% endif %} {% endif %}
RestartSec={{ keycloak_quarkus_service_restartsec }} RestartSec={{ keycloak_quarkus_service_restartsec }}
{% if keycloak_quarkus_http_port|int < 1024 or keycloak_quarkus_https_port|int < 1024 %}
AmbientCapabilities=CAP_NET_BIND_SERVICE
{% endif %}
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target