added the base which is ai code and this will be tailored (and have been a little) for specifice yejayekhoob.com use case and tested extensively under short period of time
This commit is contained in:
13
dns-failover.service
Normal file
13
dns-failover.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=DNS Failover Watchdog by db123
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/dns-failover -ip <ip> -v
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
User=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user