configuration-templates – Diff between revs 27 and 170
?pathlinks?
Rev 27 | Rev 170 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
Line 4... | Line 4... | |||
4 | |
4 | |
|
5 | check process named with pidfile /var/run/named/named.pid |
5 | check process named with pidfile /var/run/named/named.pid |
|
6 | start program = "/etc/init.d/bind9 start" |
6 | start program = "/usr/bin/systemctl start named" |
|
7 | stop program = "/etc/init.d/bind9 stop" |
7 | stop program = "/usr/bin/systemctl stop named" |
|
8 | if failed host 127.0.0.1 port 53 type tcp protocol dns then restart |
8 | if failed host 127.0.0.1 port 53 type tcp protocol dns then restart |
|
9 | if failed host 127.0.0.1 port 53 type udp protocol dns then restart |
9 | if failed host 127.0.0.1 port 53 type udp protocol dns then restart |
|
10 | # if 5 restarts within 5 cycles then timeout |
10 | # if 5 restarts within 5 cycles then timeout |