Add 'scripts/getcert.sh'

pull/4/head
drunkendog 2022-09-23 17:45:06 +01:00
parent 017a46f1ec
commit 96646e98f5
1 changed files with 5 additions and 0 deletions

5
scripts/getcert.sh Normal file
View File

@ -0,0 +1,5 @@
#/bin/sh
systemctl stop nginx
certbot certonly -n --standalone --agree-tos -d $1 -m $2
systemctl start nginx