The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

certbot_renew.sh 420 B

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