This commit is contained in:
Hannaeko 2021-07-29 23:45:07 +02:00
parent ab60278cba
commit 54f198a3aa

View file

@ -19,5 +19,5 @@ deploy:
kzonecheck -v -o $zone $zonefile
echo $(echo -n $zone | sha1sum | cut -f1 -d' ').zones 0 IN PTR $zone. >> catalog-zones/dns-witch-catalog.zone
done
- scp -r zones catalog-zones ${SSH_PRIMARY_NS}:/var/lib/knot/catalog-zones
- scp -r zones catalog-zones ${SSH_PRIMARY_NS}:/var/lib/knot/
- ssh ${SSH_PRIMARY_NS} 'chown -R knot:knot /var/lib/knot/{zones,catalog-zones} && knotc reload'