vito/system/commands/common/create-letsencrypt-ssl.sh
Saeed Vaziry 5c72f12490 init
2023-07-02 12:47:50 +02:00

4 lines
185 B
Bash

if ! sudo certbot certonly --force-renewal --nginx --noninteractive --agree-tos --cert-name __domain__ -m __email__ -d __domain__ --verbose; then
echo 'VITO_SSH_ERROR' && exit 1
fi