ddns-scripts: update_gandi_net: improve logging & add timeout 19982/head
authorPyry Kontio <pyry.kontio@drasa.eu>
Mon, 28 Nov 2022 15:15:47 +0000 (00:15 +0900)
committerPyry Kontio <pyry.kontio@drasa.eu>
Fri, 9 Dec 2022 18:37:19 +0000 (03:37 +0900)
commitcefe85250ccfd7e3c9872d714e913ca2162ccbf4
tree2ef5e29493f4054dfb8b53a676813c199e49bad3
parente04e523a01f5144a60541e6468a9f4451f26c8ab
ddns-scripts: update_gandi_net: improve logging & add timeout

- Improved logging
  - Log the executed curl command to be able to rerun and test it manually
  - Log the curl exit status
- Added 30 second timeout timeout for clear-cut detection of flaky connections.

Signed-off-by: Pyry Kontio <pyry.kontio@drasa.eu>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/lib/ddns/update_gandi_net.sh