ansible-playbooks/ubuntu/roles/letsencrypt/files/letsencrypt-renew

5 lines
110 B
Bash
Executable File

#!/usr/bin/env bash
letsencrypt renew --pre-hook "systemctl stop nginx" --post-hook "systemctl start nginx"