Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/aws/files/bin/teleport-all-pre-start
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This script prepares a Letsencrypt certificate before all-in-one Teleport starts for the first time (if needed)
set -e
if [[ "${DEBUG}" == "true" ]]; then
if [[ "${DEBUG:-false}" == "true" ]]; then
set -x
fi

Expand Down
2 changes: 1 addition & 1 deletion assets/aws/files/bin/teleport-check-cert
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# This script is called hourly to check if the certificate
# has been renewed on S3 and if it has been renewed, restart teleport proxies
if [[ "${DEBUG}" == "true" ]]; then
if [[ "${DEBUG:-false}" == "true" ]]; then
set -x
fi

Expand Down
2 changes: 1 addition & 1 deletion assets/aws/files/bin/teleport-generate-config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
if [[ "${DEBUG}" == "true" ]]; then
if [[ "${DEBUG:-false}" == "true" ]]; then
set -x
fi

Expand Down
2 changes: 1 addition & 1 deletion assets/aws/files/bin/teleport-get-cert
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# to prove to letsencrypt that they own the domain.

set -e
if [[ "${DEBUG}" == "true" ]]; then
if [[ "${DEBUG:-false}" == "true" ]]; then
set -x
fi

Expand Down
3 changes: 1 addition & 2 deletions assets/aws/files/bin/teleport-lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
# for example renewing or getting letsencrypt certificates

set -e
if [[ "${DEBUG}" == "true" ]]; then
if [[ "${DEBUG:-false}" == "true" ]]; then
set -x
fi


# Source variables from user-data
. /etc/teleport.d/conf

Expand Down
2 changes: 1 addition & 1 deletion assets/aws/files/bin/teleport-renew-cert
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# needs renewal, and renews the cert after that

set -e
if [[ "${DEBUG}" == "true" ]]; then
if [[ "${DEBUG:-false}" == "true" ]]; then
set -x
fi

Expand Down
2 changes: 1 addition & 1 deletion assets/aws/files/bin/teleport-upload-cert
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This script is called to upload renewed cert
# to the S3 bucket
set -e
if [[ "${DEBUG}" == "true" ]]; then
if [[ "${DEBUG:-false}" == "true" ]]; then
set -x
fi

Expand Down