change to /usr and /etc instead of /usr/local

master 0.0.2
rascul 3 years ago
parent f27ce88421
commit 88b5569486

@ -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

@ -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

Loading…
Cancel
Save