#! /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