Restart nginx after renewing the Let's Encrypt cert

This commit is contained in:
Greg Karékinian 2016-10-06 13:57:20 +02:00
parent 691a0e5533
commit ad4200e558

View File

@ -18,5 +18,5 @@ end
cron "renew Let's Encrypt certificates" do
minute "*"
hour "4"
command "/usr/local/letsencrypt/letsencrypt-auto renew && service nginx reload"
command "/usr/local/letsencrypt/letsencrypt-auto renew && service nginx restart"
end