Skip to content

Commit c7016c5

Browse files
committed
Improve install documentation
1 parent 3b7dd15 commit c7016c5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ https://my-fancy.local).
2222

2323
Download the binary and installed it as e.g. `/usr/local/bin/ldddns`.
2424

25-
Create a systemd service unit:
2625
```console
27-
/usr/local/bin/ldddns | sudo dd of=/etc/systemd/system/ldddns.service
26+
sudo sh -c "curl --fail -sSL -o /usr/local/bin/ldddns https://github.com/arnested/ldddns/releases/latest/download/ldddns_$(uname -s)_$(uname -m) && chmod +x /usr/local/bin/ldddns"
27+
```
28+
29+
Create a systemd service unit file:
30+
```console
31+
sudo sh -c "/usr/local/bin/ldddns > /etc/systemd/system/ldddns.service"
2832
```
2933

3034
Enable and start the service unit:

0 commit comments

Comments
 (0)