The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

14 Zeilen
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