healthcheck.sh 304 B

12345678910
  1. #!/bin/bash
  2. #renewal() {
  3. # /tmp/renewal.sh
  4. # touch /tmp/renewal
  5. #}
  6. #file=`find /tmp -name renewal -type f -mtime +1`
  7. #if [[ -z ${file} ]];then echo "Обновление сертификатов и ключей не требуется"; else renewal;fi
  8. curl -f http://127.0.0.1/.well-known || exit 1