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.
9 lines
306 B
9 lines
306 B
#!/usr/bin/env sh |
|
|
|
{% if folder == "post" %} |
|
# combine keys for haproxy |
|
cat "/etc/letsencrypt/live/{{ domain_name }}/fullchain.pem" \ |
|
"/etc/letsencrypt/live/{{ domain_name }}/privkey.pem" \ |
|
> /etc/letsencrypt/live/{{ domain_name }}/{{ domain_name }}.pem |
|
{% endif %} |
|
service haproxy "{{ service_state }}"
|
|
|