Fix README.md and config.example.toml

This commit is contained in:
2026-01-22 20:33:12 +01:00
parent f879532755
commit 4bcd9f2a7f
2 changed files with 6 additions and 4 deletions

View File

@@ -43,13 +43,15 @@ chmod 770 /var/log/ddns-service
chown ddns:ddns /etc/ddns-service /var/lib/ddns-service /var/log/ddns-service
```
3. Config file:
3. Config file and templates:
```bash
wget -O /etc/ddns-service/config.toml https://git.ccc-rheintal.ch/spacefreak/ddns-service/raw/branch/master/files/config.example.toml
wget -O /etc/ddns-service/config.toml https://git.ccc-rheintal.ch/spacefreak/ddns-service/raw/branch/master/files/change_notification.j2
wget -O /etc/ddns-service/config.toml https://git.ccc-rheintal.ch/spacefreak/ddns-service/raw/branch/master/files/expiry_notification.j2
# The config file must not be world readable!
chmod 640 /etc/ddns-service/config.toml
chown ddns:ddns /etc/ddns-service/config.toml
chown -R ddns:ddns /etc/ddns-service/
```
4. Service autostart