mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 07:32:12 +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
|
||||
|
||||
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
|
||||
shopt -s huponexit
|
||||
cd ${BUILDDIR}${arch}
|
||||
|
||||
Reference in New Issue
Block a user