You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678 |
- #!/bin/bash
- d="$1"
- for i in www mail autoconfig read news cloud git; do
- if (getent hosts $i.$1 > /dev/null); then
- d="$d,$i.$1";
- fi
- done
- /root/letsencrypt/letsencrypt-auto certonly -c /etc/letsencrypt/cli.conf --domains $d
|