standard-build/scripts/getcert.sh

5 lines
110 B
Bash
Raw Normal View History

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