The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

14 rindas
443 B

  1. #!/bin/bash
  2. LE_EMAIL="${1}"
  3. SERVER_NAME="${2}"
  4. if [[ $(find /etc/letsencrypt/accounts -type f -name regr.json | xargs grep -l \"${LE_EMAIL}\" | wc -l | tr -d ' ') -eq 0 ]] ; then
  5. certbot register --agree-tos -m ${LE_EMAIL} --non-interactive
  6. fi
  7. if [[ ! -f /etc/letsencrypt/live/${SERVER_NAME}/fullchain.pem ]] ; then
  8. certbot certonly --standalone --non-interactive -d ${SERVER_NAME}
  9. else
  10. certbot renew --standalone --non-interactive
  11. fi