feat: support PING test

This commit is contained in:
ttionya
2024-09-06 07:43:40 +00:00
committed by GitHub
parent 3de4f98d24
commit f2520175ea
+13 -1
View File
@@ -21,7 +21,19 @@ if [[ "$1" == "mail" ]]; then
MAIL_TO="$2"
fi
send_mail "vaultwarden Backup Test" "Your SMTP looks configured correctly."
send_mail "vaultwarden Backup Test" "Your SMTP configuration looks correct."
exit 0
fi
# ping test
if [[ "$1" == "ping" ]]; then
export_env_file
init_env_ping
PING_DEBUG="TRUE"
send_mail "vaultwarden Backup Test" "Your PING configuration looks correct."
exit 0
fi