net/mwan3: send SIGKILL to mwan3track

In some situation it is not enough to send a SIGTERM to mwan3track to
ask service to stop accurate. If this does not work send him a SIGKILL
to prevent mwan3track running more then once per interface.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2018-01-31 11:58:38 +01:00
parent f9a787e8df
commit 7cf9d9ec20
3 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -62,8 +62,8 @@ main() {
STATUS=$3
SRC_IP=$4
mkdir -p /var/run/mwan3track/$1
trap clean_up SIGINT SIGTERM
trap if_down SIGUSR1
trap clean_up TERM
trap if_down USR1
config_load mwan3
config_get track_method $1 track_method ping