diff options
author | Simon Rettberg | 2024-05-03 10:04:26 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-03 10:04:26 +0200 |
commit | e4b1e5205db7d134a603b1db0601b99f3bc23238 (patch) | |
tree | 1953ced5de057c139d92cf244d2c8477c83c4776 /core | |
parent | [run-virt] Add support for CoW-Mode (diff) | |
download | mltk-e4b1e5205db7d134a603b1db0601b99f3bc23238.tar.gz mltk-e4b1e5205db7d134a603b1db0601b99f3bc23238.tar.xz mltk-e4b1e5205db7d134a603b1db0601b99f3bc23238.zip |
[run-virt] relay SIGQUIT to dnbd3-fuse too
Diffstat (limited to 'core')
-rw-r--r-- | core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/setup_image_access.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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}" & |