Browse Source

TIMEOUT=30

master
pvincent 2 months ago
parent
commit
d5a08b3f6b
  1. 2
      monit-sympa.sh

2
monit-sympa.sh

@ -3,7 +3,7 @@
[ $# -ne 1 ] && echo "domain name required! ie: listes.virkingraid.org" && exit 1
LIST=$1
TIMEOUT=10
TIMEOUT=30
if (curl -m $TIMEOUT -Is "https://$LIST/wws" | grep -q "200 OK"); then
echo -e "\e[38;5;240mmonit-sympa\e[0m $LIST \e[38;5;240m... \e[0;32mYES\e[0m"

Loading…
Cancel
Save