updated readme

This commit is contained in:
Ishan Jain 2023-11-07 03:34:18 +05:30
parent 2f1966a098
commit 8cbdfbb96d
Signed by: ishan
GPG Key ID: 0506DB2A1CC75C27

View File

@ -14,14 +14,16 @@ This program does not handle any aspect related to that.
This program exits after modifying `/etc/hosts`. It can be used with systemd to run at some interval. This program exits after modifying `/etc/hosts`. It can be used with systemd to run at some interval.
It might be better to run this some how on netlink events, I have not looked into it yet.
``` ```
# /etc/systemd/system/rdns-ipv6.timer # /etc/systemd/system/rdns-ipv6.timer
[Unit] [Unit]
Description=rdns-ipv6 Description=rdns-ipv6
[Timer] [Timer]
OnUnitActiveSec=10s OnUnitActiveSec=30s
OnBootSec=10s OnBootSec=30s
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target