Fix README.md and config.example.toml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user