mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-07-31 20:04:53 +00:00
Merge pull request #150 from world-direct/fix/149
keycloak_quarkus: allow ports <1024 (e.g. :443) in systemd unit
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user