mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
system: killbypid() in gateway monitors
This commit is contained in:
parent
1af5c3b770
commit
393690bdb0
@ -162,7 +162,7 @@ function dpinger_configure_do($verbose = false, $gwname = null, $bootup = false)
|
||||
if (!empty($gwname) && $running_gwname != $gwname) {
|
||||
continue;
|
||||
}
|
||||
killbypid($process['pidfile'], 'TERM', true);
|
||||
killbypid($process['pidfile']);
|
||||
@unlink($process['pidfile']);
|
||||
@unlink($process['socket']);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user