mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Set ServerAliveInterval to ping SSH server every 30 seconds
Otherwise connection may be dropped if there is no output for some time.
This commit is contained in:
@@ -29,7 +29,7 @@ set +x
|
|||||||
|
|
||||||
for arch in "" "-arm64"; do
|
for arch in "" "-arm64"; do
|
||||||
|
|
||||||
ssh $SSHTARGET bash -c "cat >${BUILDDIR}${arch}/exec_docker_run" <<_HERE
|
ssh -o ServerAliveInterval=30 $SSHTARGET bash -c "cat >${BUILDDIR}${arch}/exec_docker_run" <<_HERE
|
||||||
set +x -e
|
set +x -e
|
||||||
shopt -s huponexit
|
shopt -s huponexit
|
||||||
cd ${BUILDDIR}${arch}
|
cd ${BUILDDIR}${arch}
|
||||||
|
|||||||
Reference in New Issue
Block a user