service: Have service depend on oauth2-proxy socat socket if set

This commit is contained in:
uumas
2025-09-15 12:34:21 +03:00
parent d3542993dd
commit 16babfd5ed

View File

@@ -11,6 +11,7 @@ _service_container_wants: >-
{{
service_wants
+ ([service_name + '-socat.socket'] if service_container_http_port > 0 else [])
+ ([service_name + '-oauth2-proxy-socat.socket'] if _service_oauth2_proxy else [])
+ _service_additional_containers
| map(attribute='name')
| map('regex_replace', '$', '.service')