2023-12-22 17:41:51 +11:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Tell dnsdist to reload the config
|
|
|
|
dnsdist -c -e 'reloadAllCertificates()'
|
2024-08-20 13:13:04 +10:00
|
|
|
systemctl restart caddy
|
2023-12-22 17:41:51 +11:00
|
|
|
|
|
|
|
# Save last run time
|
2024-08-20 13:13:04 +10:00
|
|
|
date +%s > last_cert_reload.txt
|