... | ... |
@@ -8,18 +8,22 @@ function nginx () { |
8 | 8 |
} |
9 | 9 |
|
10 | 10 |
function searx () { |
11 |
+ _turn 5 || return |
|
11 | 12 |
nc -zw2 127.0.0.1 8888 || echo "injoignable sur port 8888" |
12 | 13 |
} |
13 | 14 |
|
14 | 15 |
function gitprep () { |
16 |
+ _turn 5 || return |
|
15 | 17 |
nc -zw2 127.0.0.1 10020 || echo "injoignable sur port 10020" |
16 | 18 |
} |
17 | 19 |
|
18 | 20 |
function cherrymusic () { |
21 |
+ _turn 5 || return |
|
19 | 22 |
nc -zw2 127.0.0.1 8080 || echo "injoignable sur port 8080" |
20 | 23 |
} |
21 | 24 |
|
22 | 25 |
function webapps () { |
26 |
+ _turn 3 || return # test toutes les 3 heures |
|
23 | 27 |
awk -v sq="'" ' |
24 | 28 |
/^[^#]+#\s*monitoring\s/ { |
25 | 29 |
if ($1 == "listen") { |