Skip to content

Commit

Permalink
fix(agent): define default value to keepalive interval
Browse files Browse the repository at this point in the history
  • Loading branch information
haller33 committed Aug 29, 2024
1 parent 5ecc2ff commit 415a953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
docker_install() {
echo "🐳 Installing ShellHub using docker method..."

KEEPALIVE_INTERVAL_ARG="-e SHELLHUB_KEEPALIVE_INTERVAL=$KEEPALIVE_INTERVAL"
KEEPALIVE_INTERVAL_ARG="-e SHELLHUB_KEEPALIVE_INTERVAL=${KEEPALIVE_INTERVAL:-30}"
PREFERRED_HOSTNAME_ARG="-e SHELLHUB_PREFERRED_HOSTNAME=$PREFERRED_HOSTNAME"
PREFERRED_IDENTITY_ARG="-e SHELLHUB_PREFERRED_IDENTITY=$PREFERRED_IDENTITY"

Expand Down

0 comments on commit 415a953

Please sign in to comment.