Renew certificate and stop apache
certbot -q renew --pre-hook "apachectl -k stop" --post-hook "apachectl -k start"