Skip to content

Commit

Permalink
Add fix to admin script, fix the need for interactive prompt which wo…
Browse files Browse the repository at this point in the history
…uld hang
  • Loading branch information
JoshuaSBrown committed Nov 13, 2023
1 parent 0742ab5 commit 2203ade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generate_certificate_refresh_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SOURCE=$(dirname "$SCRIPT")
PROJECT_ROOT=$(realpath "${SOURCE}/..")
source "${PROJECT_ROOT}/config/datafed.sh"

VERSION="1.0.0"
VERSION="1.0.1"
echo "$FILE_NAME $VERSION"

ERROR_DETECTED=0
Expand Down Expand Up @@ -54,7 +54,7 @@ cat << OUTER_EOF > "$PROJECT_ROOT/scripts/admin_refresh_certs.sh"
# and root root
DOMAIN="${DATAFED_DOMAIN}"
systemctl stop datafed-ws.service
lego --email="${DATAFED_LEGO_EMAIL}" --domains="${DATAFED_DOMAIN}" --tls run
lego --accept-tos --email="${DATAFED_LEGO_EMAIL}" --domains="${DATAFED_DOMAIN}" --tls run
DIR_NAME=\$(date +%m-%Y)
mkdir -p "\${DIR_NAME}"
# Create a copy so we can always go back and check when the last time was
Expand Down

0 comments on commit 2203ade

Please sign in to comment.