Skip to content

Commit

Permalink
Improve install documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arnested committed Jan 2, 2021
1 parent 3b7dd15 commit c7016c5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ https://my-fancy.local).

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

Create a systemd service unit:
```console
/usr/local/bin/ldddns | sudo dd of=/etc/systemd/system/ldddns.service
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"
```

Create a systemd service unit file:
```console
sudo sh -c "/usr/local/bin/ldddns > /etc/systemd/system/ldddns.service"
```

Enable and start the service unit:
Expand Down

0 comments on commit c7016c5

Please sign in to comment.