X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=bin%2Frenew_certs.sh;h=d1853b5837e7bd94b22e3591fba14ddad4ecc990;hb=HEAD;hp=a1a2b96058e4d4010086bb6e6ac68fc1bd83651a;hpb=85f1e1508089bbaa01b9a5240f802dd2ac817544;p=config diff --git a/bin/renew_certs.sh b/bin/renew_certs.sh index a1a2b96..d1853b5 100755 --- a/bin/renew_certs.sh +++ b/bin/renew_certs.sh @@ -1,3 +1,5 @@ #!/bin/sh -~/letsencrypt/letsencrypt-auto renew --webroot -w /var/www/html/ +service nginx stop +~/letsencrypt/letsencrypt-auto renew +service nginx restart