From 2c45625659f93a6d83037fa32bb4bff9d0e11cbb Mon Sep 17 00:00:00 2001 From: Romain de Laage Date: Fri, 10 Jul 2020 09:51:23 +0200 Subject: [PATCH] Add a script to renew all certificates automatically --- renew.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 renew.sh diff --git a/renew.sh b/renew.sh new file mode 100755 index 0000000..428a39b --- /dev/null +++ b/renew.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +# The aim of this script is to automatically renew the certificates installed on this machine. +# You should add a cron job to run this script and make it be executed each night. + +service nginx stop +certbot renew --quiet +service nginx start