hns_doh_loadbalancer/cert.sh
Nathan Woodburn 004e7fcd9f
All checks were successful
Build Docker / Build_Docker (push) Successful in 1m11s
fix: Update to use absolute names in cert hooks to allow renewals from crontab
2024-08-20 13:13:04 +10:00

9 lines
167 B
Bash

#!/bin/bash
# Tell dnsdist to reload the config
dnsdist -c -e 'reloadAllCertificates()'
systemctl restart caddy
# Save last run time
date +%s > last_cert_reload.txt