Do not try to enable non-enableable matrix_ssl_renewal_systemd_units_list

This commit is contained in:
Slavi Pantaleev 2022-11-23 13:00:15 +02:00
parent f696928b7d
commit 1bd3a27acd

View File

@ -283,7 +283,7 @@ devture_systemd_service_manager_services_list_auto: |
+ +
([{'name': 'matrix-nginx-proxy.service', 'priority': 3000, 'groups': ['matrix', 'nginx', 'reverse-proxies']}] if matrix_nginx_proxy_enabled else []) ([{'name': 'matrix-nginx-proxy.service', 'priority': 3000, 'groups': ['matrix', 'nginx', 'reverse-proxies']}] if matrix_nginx_proxy_enabled else [])
+ +
(matrix_ssl_renewal_systemd_units_list | selectattr('applicable')) (matrix_ssl_renewal_systemd_units_list | selectattr('applicable') | selectattr('enableable'))
+ +
([{'name': 'matrix-ntfy.service', 'priority': 800, 'groups': ['matrix', 'ntfy']}] if matrix_ntfy_enabled else []) ([{'name': 'matrix-ntfy.service', 'priority': 800, 'groups': ['matrix', 'ntfy']}] if matrix_ntfy_enabled else [])
+ +