X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=bin%2Frenew_certs.sh;h=d1853b5837e7bd94b22e3591fba14ddad4ecc990;hb=8a0ed8264d1b884c46dfa1fb5a5862bac6e1aceb;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