Skip to content

Commit

Permalink
Moved keepalive_interval assignment up
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Aug 25, 2024
1 parent 1ffaca0 commit 6a56867
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

set -ex

keepalive_interval=${KEEPALIVE_INTERVAL:-30}

################################################################################

install -m600 /ssh_client_key ~portmap/.ssh
install -m644 /known_hosts ~portmap/.ssh || :

keepalive_interval=${KEEPALIVE_INTERVAL:-30}

# Start the OpenSSH client with "exec" to ensure it receives all the stop
# signals correctly
exec /usr/bin/ssh \
Expand Down

0 comments on commit 6a56867

Please sign in to comment.