he-ddnsrc should be 0600 not 0644 because it has keys

master
rasul 4 years ago
parent b262281294
commit 0d678ed763

@ -5,7 +5,7 @@ dns service. It uses curl.
git clone https://gitlab.com/rascul/he-ddns git clone https://gitlab.com/rascul/he-ddns
cd 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 0755 he-ddns /usr/local/bin/
sudo install -o root -g root -m 0644 he-ddnsrc /usr/local/etc/ sudo install -o root -g root -m 0600 he-ddnsrc /usr/local/etc/
sudoedit /usr/local/etc/he-ddnsrc sudoedit /usr/local/etc/he-ddnsrc
sudo install -o root -g root -m 0644 he-ddns.{service,timer} /etc/systemd/system/ sudo install -o root -g root -m 0644 he-ddns.{service,timer} /etc/systemd/system/
sudo systemctl daemon-reload sudo systemctl daemon-reload

Loading…
Cancel
Save