|
1234567891011121314151617 |
- #!/bin/bash
-
- # Starting certbot deploy_hook
- echo "Starting certbot deploy_hook ..."
-
- # Reload nginx
- nginx -t && service nginx reload
- # Reload postfix
- service postfix reload
- # Reload dovecot
- service dovecot reload
- # Copy SSL cert and reload slapd
- cp /etc/letsencrypt/live/allella.io/*.pem /etc/ldap/tls/
- service slapd restart
-
- # End deploy_hook
- echo "End certbot deploy_hook process"
|