9 lines
135 B
Bash
Executable file
9 lines
135 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
CMD="certbot certonly --webroot -w /var/www/html"
|
|
|
|
for domain in "$@"; do
|
|
CMD="$CMD -d $domain"
|
|
done
|
|
|
|
eval $CMD
|