server-tools !?!
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.

18 regels
383 B

  1. #!/bin/bash
  2. # Starting certbot deploy_hook
  3. echo "Starting certbot deploy_hook ..."
  4. # Reload nginx
  5. nginx -t && service nginx reload
  6. # Reload postfix
  7. service postfix reload
  8. # Reload dovecot
  9. service dovecot reload
  10. # Copy SSL cert and reload slapd
  11. cp /etc/letsencrypt/live/allella.io/*.pem /etc/ldap/tls/
  12. service slapd restart
  13. # End deploy_hook
  14. echo "End certbot deploy_hook process"