standard-build/scripts/getcert.sh

5 lines
109 B
Bash
Raw Normal View History

2022-09-23 17:45:06 +01:00
#/bin/sh
systemctl stop nginx
certbot certonly -n --standalone --agree-tos -d $1 -m $2
systemctl start nginx