diff --git a/README.md b/README.md index 6870a67..d2501f7 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ 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 0600 he-ddnsrc /usr/local/etc/ -sudoedit /usr/local/etc/he-ddnsrc +sudo install -o root -g root -m 0755 he-ddns /usr/bin/ +sudo install -o root -g root -m 0600 he-ddnsrc /etc/ +sudoedit /etc/he-ddnsrc sudo install -o root -g root -m 0644 he-ddns.{service,timer} /etc/systemd/system/ sudo systemctl daemon-reload sudo systemctl enable --now he-ddns.timer diff --git a/he-ddns.service b/he-ddns.service index 27b56c7..24a29a5 100644 --- a/he-ddns.service +++ b/he-ddns.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=oneshot -ExecStart=/usr/local/bin/he-ddns +ExecStart=/usr/bin/he-ddns [Install] WantedBy=multi-user.target