Unverified Commit c253d566 authored by MegaS0ra's avatar MegaS0ra Committed by GitHub
Browse files

Fixed renew command

parent 744fc60c
......@@ -24,7 +24,7 @@ service iptables stop
if [ ! -f "/etc/letsencrypt/live/$(hostname)/fullchain.pem" ]; then
./letsencrypt/letsencrypt-auto certonly --standalone --agree-tos --no-eff-email --manual-public-ip-logging-ok -d $(hostname) --rsa-key-size 4096 --email $1
./letsencrypt/letsencrypt-auto renew --standalone --agree-tos --no-eff-email --manual-public-ip-logging-ok -d $(hostname) --rsa-key-size 4096 --email $1
./letsencrypt/letsencrypt-auto renew
fiservice iptables start
echo -e "\n### Adding certificate to R1Soft..."
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment