#!/bin/bash cat $RENEWED_LINEAGE/{fullchain.pem,privkey.pem} > /etc/ssl/certs/haproxy/$(basename $RENEWED_LINEAGE).pem # --deploy-hook DEPLOY_HOOK # Command to be run in a shell once for each # successfully issued certificate. For this command, the # shell variable $RENEWED_LINEAGE will point to the # config live subdirectory (for example, # "/etc/letsencrypt/live/example.com") containing the # new certificates and keys; the shell variable # $RENEWED_DOMAINS will contain a space-delimited list # of renewed certificate domains (for example, # "example.com www.example.com") (default: None)