mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-06 10:50:31 -07: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:
commit
40229631e6
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue