summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-10-10 12:09:05 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-10-10 12:09:05 -0400
commit1ffa44bb8e748d155604743da8cf1c1eece8ea9c (patch)
tree82926215e037263e548ea52e83f5e174b0acdaae /etc
parentebb57fe2396d3b166f411c1d20d83fdded2d3cad (diff)
downloadpfsense-1ffa44bb8e748d155604743da8cf1c1eece8ea9c.zip
pfsense-1ffa44bb8e748d155604743da8cf1c1eece8ea9c.tar.gz
Kill apinger with a large axe until the TERM issues can be resolved
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/gwlb.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 4d1b06f..540a0a7 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -41,6 +41,8 @@ function setup_gateways_monitor() {
if (!is_array($gateways_arr)) {
log_error("No gateways to monitor. Apinger will not be run.");
killbypid("{$g['varrun_path']}/apinger.pid");
+ // TEMPORARY XXX
+ exec("/usr/bin/killall -9 apinger");
@unlink("{$g['tmp_path']}/apinger.status");
return;
}
@@ -223,6 +225,8 @@ EOD;
fclose($fd);
killbypid("{$g['varrun_path']}/apinger.pid");
+ // TEMPORARY XXX
+ exec("/usr/bin/killall -9 apinger");
if (is_dir("{$g['tmp_path']}"))
chmod("{$g['tmp_path']}", 01777);
if (!is_dir("{$g['vardb_path']}/rrd"))
OpenPOWER on IntegriCloud