fix: Update to use absolute names in cert hooks to allow renewals from crontab
All checks were successful
Build Docker / Build_Docker (push) Successful in 1m11s
All checks were successful
Build Docker / Build_Docker (push) Successful in 1m11s
This commit is contained in:
@@ -19,7 +19,7 @@ sudo apt-get install -y dnsdist
|
||||
sudo apt install snapd -y
|
||||
sudo snap install --classic certbot
|
||||
sudo ln -s /snap/bin/certbot /usr/bin/certbot
|
||||
sudo certbot certonly --manual --manual-auth-hook ./cert.py --preferred-challenges dns -d hnsdoh.com --deploy-hook ./cert.sh
|
||||
sudo certbot certonly --manual --manual-auth-hook /root/hns_doh_loadbalancer/cert.py --preferred-challenges dns -d hnsdoh.com --deploy-hook /root/hns_doh_loadbalancer/cert.sh
|
||||
sudo cp ./resolved.conf /etc/systemd/resolved.conf
|
||||
sudo systemctl restart systemd-resolved
|
||||
|
||||
@@ -68,4 +68,4 @@ npm install --omit=dev
|
||||
sudo cp ./hsd.service /lib/systemd/system/hsd.service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable hsd
|
||||
sudo systemctl start hsd
|
||||
sudo systemctl start hsd
|
||||
|
||||
Reference in New Issue
Block a user