changed the service of systemd file a bit and added the help flag output as help to readme

This commit is contained in:
db1234719
2026-02-18 00:06:17 +03:30
parent ba2c119b55
commit f9fc71bee9
2 changed files with 33 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ Description=DNS Failover Watchdog by db123
After=network.target
[Service]
ExecStart=/usr/local/bin/dns-failover -ip <ip> -v
ExecStart=/root/infra/dns-failover/dns-failover -ip <server-to-watch>
Restart=always
RestartSec=5
User=root