ros-infrastructure / cookbook-ros-buildfarm

Apache License 2.0
2 stars 2 forks source link

Add certificate update hook script for acme.sh. #95

Closed nuclearsandwich closed 3 years ago

nuclearsandwich commented 3 years ago

Nginx needs to be reloaded or restarted in order to re-read SSL certificate files that acme.sh has updated.

In case other services ever need to be similarly restarted a separate hook script is used to remove the need for updating the reloadcmd directly.

This will resolve the issue we have periodically where acme.sh updates the certificate but nginx must be manually restarted before the new certificate will be served.