blob: ec7cb22cfc5ffe612e9ad9aef12f04d4b4c5930f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# destination IP
destination = "127.0.0.1"
# Period of the pings in s
period = 60
# timeout for one ping in s
timeout = 10
# available loglevels: DEBUG, INFO, QUIET, ERROR
loglevel = "INFO"
# number of pings to send
num_pings = 1
actions = (
{
action = "reboot";
# delay in seconds
delay = 3600; # 1 hour
},
{
action = "service-restart";
name = "systemd-networkd.service";
delay = 180; # 3 minutes
}
)
|