From 83b9f697abd4e7377d2c7c328caadf7f43c0033e Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 19 Aug 2025 11:25:07 +0200 Subject: [PATCH] Encapsulated again to see output in journald --- roles/sys-ctl-cln-faild-bkps/templates/systemctl.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/sys-ctl-cln-faild-bkps/templates/systemctl.service.j2 b/roles/sys-ctl-cln-faild-bkps/templates/systemctl.service.j2 index 74039f4f..5b498461 100644 --- a/roles/sys-ctl-cln-faild-bkps/templates/systemctl.service.j2 +++ b/roles/sys-ctl-cln-faild-bkps/templates/systemctl.service.j2 @@ -5,4 +5,4 @@ OnFailure={{ SYS_SERVICE_ON_FAILURE_COMPOSE }} [Service] Type=oneshot ExecStartPre=/usr/bin/python {{ PATH_SYSTEM_LOCK_SCRIPT }} {{ SYS_SERVICE_GROUP_MANIPULATION | join(' ') }} --ignore {{ SYS_SERVICE_GROUP_CLEANUP| join(' ') }} --timeout "{{ SYS_TIMEOUT_CLEANUP_SERVICES }}" -ExecStart=/usr/bin/yes | /usr/bin/bash {{ BACKUP_CLEANUP_SCRIPT }} \ No newline at end of file +ExecStart=/bin/sh -c '/usr/bin/yes | /usr/bin/bash {{ BACKUP_CLEANUP_SCRIPT | quote }}' \ No newline at end of file