hns_doh_loadbalancer/cert.sh

9 lines
167 B
Bash
Raw Normal View History

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