Skip to content

Commit

Permalink
Enhance entrypoint.sh logging for existing SSL certificate usage
Browse files Browse the repository at this point in the history
- Updated the output messages in entrypoint.sh to provide clearer information about the existing SSL certificate and private key files being used, improving transparency during the startup process.
  • Loading branch information
jaydrogers committed Jan 8, 2025
1 parent 850e7e9 commit 8175f07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ if [ ! -f "$FTP_TLS_CERTIFICATE_FILE" ] || [ ! -f "$FTP_TLS_CERTIFICATE_KEY_FILE
chmod 600 "${FTP_TLS_CERTIFICATE_KEY_FILE}"
echo "✅ SSL Keypair generated..."
else
echo "ℹ️ NOTICE: SSL certificate and private key already exist, so we'll use the existing files."
echo "ℹ️ NOTICE: SSL certificate and private key already exist, so we'll be using the following files:"
echo " - ${FTP_TLS_CERTIFICATE_FILE}"
echo " - ${FTP_TLS_CERTIFICATE_KEY_FILE}"
fi

if [ -n "$FTP_MASQUERADE_ADDRESS" ]; then
Expand Down

0 comments on commit 8175f07

Please sign in to comment.