Vasyl Saienko | da75959 | 2018-11-29 11:05:27 +0200 | [diff] [blame^] | 1 | parameters: |
2 | keepalived: | ||||
3 | cluster: | ||||
4 | vrrp_scripts: | ||||
5 | multiple_processes: | ||||
6 | args: ${_param:keepalived_vrrp_script_check_multiple_processes} | ||||
7 | content: | | ||||
8 | #!/bin/sh | ||||
9 | set -o errexit | ||||
10 | for process in $@; do | ||||
11 | if ! pidof $process; then | ||||
12 | exit 1 | ||||
13 | fi | ||||
14 | done | ||||
15 | interval: 10 | ||||
16 | rise: 1 | ||||
17 | fall: 1 |