Closed cycomachead closed 6 years ago
OK, this should be working on the production server. I did things in a somewhat sad way, but that are workable.
The certbot sets up a cronjob automatically (/etc/cron.d/certbot) upon install so we don't need to change that.
I modified the lets encrypt config file for snap-cloud.cs10.org to use snapCloud/certs/snap-cloud.CS10.org as the directory to store cert files. (This is /etc/letsencrypt/renewal/snap-cloud.CS10.org.conf
)
I then added a script to /etc/letsencrypt/renewal-hooks/deploy/1-restart-lapis.sh
. It will simply call the daemon to restart the server. It will only run when the cert renewal is successful.
Hmm this autoclosed itself, sorry.
On Thu, Aug 16, 2018, 11:25 AM Michael Ball notifications@github.com wrote:
Reopened #80 https://github.com/bromagosa/snapCloud/issues/80.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/bromagosa/snapCloud/issues/80#event-1791911377, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-DecCWH_9RRS2MXE1ZkveCoe_KN6vVks5uRTp4gaJpZM4VI1GW .
I used the word “fix”. But GitHub doesn’t know how to treat “partial fix”. :)
-- Michael Ball From my iPhone michaelball.co
On Aug 16, 2018, at 3:30 AM, Bernat Romagosa notifications@github.com wrote:
Hmm this autoclosed itself, sorry.
On Thu, Aug 16, 2018, 11:25 AM Michael Ball notifications@github.com wrote:
Reopened #80 https://github.com/bromagosa/snapCloud/issues/80.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/bromagosa/snapCloud/issues/80#event-1791911377, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-DecCWH_9RRS2MXE1ZkveCoe_KN6vVks5uRTp4gaJpZM4VI1GW .
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.
Updated the staging server, I believe. :)
This shouldn't be too difficult.
We should have an auto-renew script in bin/.
It should:
I should do this before August 19!