From e4b1e5205db7d134a603b1db0601b99f3bc23238 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 3 May 2024 10:04:26 +0200 Subject: [run-virt] relay SIGQUIT to dnbd3-fuse too --- .../data/opt/openslx/vmchooser/run-virt-includes/setup_image_access.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'core/modules') diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/setup_image_access.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/setup_image_access.inc index 5b0786c8..9be00cfa 100644 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/setup_image_access.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/setup_image_access.inc @@ -78,6 +78,7 @@ setup_dnbd3_common () { rm -f -- "${DNBD3_EXITFLAG}" ( trap 'kill $dnbd3pid; exit' SIGTERM + trap 'kill -SIGQUIT $dnbd3pid' SIGQUIT startup="$( date +%s )" while [ "$( date +%s )" -lt "$(( startup + 4 ))" ]; do dnbd3-fuse -f -o allow_other,max_readahead=262144 -h "${SLX_DNBD3_SERVERS}" -i "${SRC_IMG_RELATIVE}" "$@" "${DNBD3_MOUNT_POINT}" &> "${dnbd3_tmplog}" & -- cgit v1.2.3-55-g7522