From ef0d046878c1a504370535930b77525335959a2d Mon Sep 17 00:00:00 2001 From: rasul Date: Tue, 2 Jun 2020 16:54:23 -0500 Subject: [PATCH] readme --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a0e9b62 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +Bash script and systemd service to update Hurricane Electric's free dynamic +dns service. It uses curl. + +```bash +git clone https://gitlab.com/rascul/he-ddns +cd he-ddns +sudo install -o root -g root -m 0755 he-ddns /usr/local/bin +sudo install -o root -g root -m 0644 he-ddns?@.{service,timer} /etc/systemd/system +sudo mkdir -p /etc/he-ddns +echo "some_key" | sudo tee /etc/he-ddns/some_domain +sudo chmod 0600 /etc/he-ddne/some_domain +sudo systemctl daemon-reload +sudo systemctl enable --now he-ddns4@some_domain.service +sudo systemctl enable --now he-ddns6@some_domain.service +```