Browse Source

Updating deploy script

master v0.2
Mablr 11 months ago
parent
commit
68932876b2
Signed by: mablr GPG Key ID: 7568670EF499017A
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      templates/reload.sh.j2

+ 5
- 0
templates/reload.sh.j2 View File

@ -1,2 +1,7 @@
#!/bin/bash
{% if certbot_haproxy is true %}
{% for cert in certbot_certs %}
cat /etc/letsencrypt/live/{{ cert.name }}/{fullchain.pem,privkey.pem} > {{ certbot_haproxy_path }}/{{ cert.name }}.pem
{% endfor %}
{% endif %}
/bin/systemctl reload {{ certbot_post_reload | join(' ') }}

Loading…
Cancel
Save