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