Revision 4fc47b2f
Added by Renato Botelho over 9 years ago
src/etc/inc/gwlb.inc | ||
---|---|---|
153 | 153 |
: $dpinger_defaults['losshigh'] |
154 | 154 |
) . " "; |
155 | 155 |
|
156 |
/* Make sure we don't end up with 2 process for the same GW */ |
|
157 |
stop_dpinger($gateway['name']); |
|
158 |
|
|
156 | 159 |
/* Redirect stdout to /dev/null to avoid exec() to wait for dpinger */ |
157 | 160 |
return mwexec("/usr/local/bin/dpinger {$params} {$gateway['monitor']} >/dev/null"); |
158 | 161 |
} |
Also available in: Unified diff
Add a seatbelt to prevent 2 dpinger instances for same GW