The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

certbot_renew.sh 420 B

4 vuotta sitten
123456789101112131415
  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. #
  5. if [[ -d /home/mitmproxy ]] ; then
  6. service mitmproxy stop
  7. fi
  8. service nginx stop
  9. certbot renew --standalone --non-interactive || echo "Error updating SSL certificates"
  10. if [[ -d /home/mitmproxy ]] ; then
  11. service mitmproxy restart
  12. fi
  13. service nginx restart