#!/bin/sh cert_path=/etc/letsencrypt/live/mail.ofiz.cz haproxy_path=/etc/ssl/private/haproxy #/etc/init.d/haproxy stop certbot certonly --standalone -d mail.ofiz.cz -d post.emcc.cz -d mail.veltrusy.cz --non-interactive --agree-tos --email info@emcc.cz --http-01-port=9999 --expand cat $cert_path/fullchain.pem $cert_path/privkey.pem | tee $haproxy_path/mail.ofiz.cz.pem /etc/init.d/haproxy reload